Lines Matching refs:numBlocks
95 int i, k, numBlocks; in rijndael_blockEncrypt() local
107 numBlocks = inputLen/128; in rijndael_blockEncrypt()
111 for (i = numBlocks; i > 0; i--) { in rijndael_blockEncrypt()
134 for (i = numBlocks - 1; i > 0; i--) { in rijndael_blockEncrypt()
163 for (i = numBlocks; i > 0; i--) { in rijndael_blockEncrypt()
195 return 128*numBlocks; in rijndael_blockEncrypt()
209 int i, numBlocks, padLen; in rijndael_padEncrypt() local
221 numBlocks = inputOctets/16; in rijndael_padEncrypt()
225 for (i = numBlocks; i > 0; i--) { in rijndael_padEncrypt()
230 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt()
241 for (i = numBlocks; i > 0; i--) { in rijndael_padEncrypt()
251 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt()
267 return 16*(numBlocks + 1); in rijndael_padEncrypt()
272 int i, k, numBlocks; in rijndael_blockDecrypt() local
284 numBlocks = inputLen/128; in rijndael_blockDecrypt()
288 for (i = numBlocks; i > 0; i--) { in rijndael_blockDecrypt()
304 for (i = numBlocks; i > 0; i--) { in rijndael_blockDecrypt()
333 for (i = numBlocks; i > 0; i--) { in rijndael_blockDecrypt()
365 return 128*numBlocks; in rijndael_blockDecrypt()
370 int i, numBlocks, padLen; in rijndael_padDecrypt() local
386 numBlocks = inputOctets/16; in rijndael_padDecrypt()
391 for (i = numBlocks - 1; i > 0; i--) { in rijndael_padDecrypt()
413 for (i = numBlocks - 1; i > 0; i--) { in rijndael_padDecrypt()
446 return 16*numBlocks - padLen; in rijndael_padDecrypt()