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()
325 .cra_blocksize = AES_BLOCK_SIZE,
356 nbytes / AES_BLOCK_SIZE); in ecb_aes_encrypt()
357 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_encrypt()
382 nbytes / AES_BLOCK_SIZE); in ecb_aes_decrypt()
383 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_decrypt()
397 .cra_blocksize = AES_BLOCK_SIZE,
430 nbytes / AES_BLOCK_SIZE); in cbc_aes_encrypt()
431 memcpy(walk.iv, iv, AES_BLOCK_SIZE); in cbc_aes_encrypt()
432 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_encrypt()
457 nbytes / AES_BLOCK_SIZE); in cbc_aes_decrypt()
458 nbytes &= AES_BLOCK_SIZE - 1; in cbc_aes_decrypt()
472 .cra_blocksize = AES_BLOCK_SIZE,
481 .ivsize = AES_BLOCK_SIZE,