Lines Matching refs:AES_BLOCK_SIZE
1272 unsigned char tmp[AES_BLOCK_SIZE]; in AES_cbc_encrypt()
1277 while (len >= AES_BLOCK_SIZE) { in AES_cbc_encrypt()
1278 for(n=0; n < AES_BLOCK_SIZE; ++n) in AES_cbc_encrypt()
1281 memcpy(ivec, out, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1282 len -= AES_BLOCK_SIZE; in AES_cbc_encrypt()
1283 in += AES_BLOCK_SIZE; in AES_cbc_encrypt()
1284 out += AES_BLOCK_SIZE; in AES_cbc_encrypt()
1289 for(n=len; n < AES_BLOCK_SIZE; ++n) in AES_cbc_encrypt()
1292 memcpy(out, tmp, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1293 memcpy(ivec, tmp, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1296 while (len >= AES_BLOCK_SIZE) { in AES_cbc_encrypt()
1297 memcpy(tmp, in, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1299 for(n=0; n < AES_BLOCK_SIZE; ++n) in AES_cbc_encrypt()
1301 memcpy(ivec, tmp, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1302 len -= AES_BLOCK_SIZE; in AES_cbc_encrypt()
1303 in += AES_BLOCK_SIZE; in AES_cbc_encrypt()
1304 out += AES_BLOCK_SIZE; in AES_cbc_encrypt()
1307 memcpy(tmp, in, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1311 memcpy(ivec, tmp, AES_BLOCK_SIZE); in AES_cbc_encrypt()