Lines Matching refs:AES_BLOCK_SIZE
34 #define ecb_fetch_bytes (ecb_fetch_blocks * AES_BLOCK_SIZE)
38 #define cbc_fetch_bytes (cbc_fetch_blocks * AES_BLOCK_SIZE)
215 u8 buf[AES_BLOCK_SIZE * (MAX_ECB_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in ecb_crypt_copy()
218 memcpy(tmp, in, count * AES_BLOCK_SIZE); in ecb_crypt_copy()
229 u8 buf[AES_BLOCK_SIZE * (MAX_CBC_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in cbc_crypt_copy()
232 memcpy(tmp, in, count * AES_BLOCK_SIZE); in cbc_crypt_copy()
326 .cra_blocksize = AES_BLOCK_SIZE,
357 nbytes / AES_BLOCK_SIZE); in ecb_aes_encrypt()
358 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_encrypt()
383 nbytes / AES_BLOCK_SIZE); in ecb_aes_decrypt()
384 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_decrypt()
398 .cra_blocksize = AES_BLOCK_SIZE,
431 nbytes / AES_BLOCK_SIZE); in cbc_aes_encrypt()
432 memcpy(walk.iv, iv, AES_BLOCK_SIZE); in cbc_aes_encrypt()
433 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_encrypt()
458 nbytes / AES_BLOCK_SIZE); in cbc_aes_decrypt()
459 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_decrypt()
473 .cra_blocksize = AES_BLOCK_SIZE,
482 .ivsize = AES_BLOCK_SIZE,