Lines Matching refs:AES_BLOCK_SIZE
36 #define ecb_fetch_bytes (ecb_fetch_blocks * AES_BLOCK_SIZE)
40 #define cbc_fetch_bytes (cbc_fetch_blocks * AES_BLOCK_SIZE)
218 u8 buf[AES_BLOCK_SIZE * (MAX_ECB_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in ecb_crypt_copy()
221 memcpy(tmp, in, count * AES_BLOCK_SIZE); in ecb_crypt_copy()
232 u8 buf[AES_BLOCK_SIZE * (MAX_CBC_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in cbc_crypt_copy()
235 memcpy(tmp, in, count * AES_BLOCK_SIZE); in cbc_crypt_copy()
329 .cra_blocksize = AES_BLOCK_SIZE,
359 nbytes / AES_BLOCK_SIZE); in ecb_aes_encrypt()
360 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_encrypt()
384 nbytes / AES_BLOCK_SIZE); in ecb_aes_decrypt()
385 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_decrypt()
398 .base.cra_blocksize = AES_BLOCK_SIZE,
425 nbytes / AES_BLOCK_SIZE); in cbc_aes_encrypt()
426 memcpy(walk.iv, iv, AES_BLOCK_SIZE); in cbc_aes_encrypt()
427 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_encrypt()
451 nbytes / AES_BLOCK_SIZE); in cbc_aes_decrypt()
452 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_decrypt()
465 .base.cra_blocksize = AES_BLOCK_SIZE,
471 .ivsize = AES_BLOCK_SIZE,