Lines Matching refs:AES_BLOCK_SIZE
33 #define ecb_fetch_bytes (ecb_fetch_blocks * AES_BLOCK_SIZE)
37 #define cbc_fetch_bytes (cbc_fetch_blocks * AES_BLOCK_SIZE)
214 u8 buf[AES_BLOCK_SIZE * (MAX_ECB_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in ecb_crypt_copy()
217 memcpy(tmp, in, count * AES_BLOCK_SIZE); in ecb_crypt_copy()
228 u8 buf[AES_BLOCK_SIZE * (MAX_CBC_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in cbc_crypt_copy()
231 memcpy(tmp, in, count * AES_BLOCK_SIZE); in cbc_crypt_copy()
327 .cra_blocksize = AES_BLOCK_SIZE,
360 nbytes / AES_BLOCK_SIZE); in ecb_aes_encrypt()
361 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_encrypt()
389 nbytes / AES_BLOCK_SIZE); in ecb_aes_decrypt()
390 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_decrypt()
405 .cra_blocksize = AES_BLOCK_SIZE,
440 nbytes / AES_BLOCK_SIZE); in cbc_aes_encrypt()
441 memcpy(walk.iv, iv, AES_BLOCK_SIZE); in cbc_aes_encrypt()
442 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_encrypt()
470 nbytes / AES_BLOCK_SIZE); in cbc_aes_decrypt()
471 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_decrypt()
487 .cra_blocksize = AES_BLOCK_SIZE,
496 .ivsize = AES_BLOCK_SIZE,