Home | History | Annotate | Download | only in cbc

Lines Matching refs:blocklen

41    /* is blocklen valid? */
42 if (cbc->blocklen < 1 || cbc->blocklen > (int)sizeof(cbc->IV)) {
46 if (len % cbc->blocklen) {
50 if (cbc->blocklen % sizeof(LTC_FAST_TYPE)) {
56 return cipher_descriptor[cbc->cipher].accel_cbc_encrypt(pt, ct, len / cbc->blocklen, cbc->IV, &cbc->key);
61 for (x = 0; x < cbc->blocklen; x += sizeof(LTC_FAST_TYPE)) {
65 for (x = 0; x < cbc->blocklen; x++) {
77 for (x = 0; x < cbc->blocklen; x += sizeof(LTC_FAST_TYPE)) {
81 for (x = 0; x < cbc->blocklen; x++) {
86 ct += cbc->blocklen;
87 pt += cbc->blocklen;
88 len -= cbc->blocklen;