Lines Matching refs:AES_BLOCK_SIZE
62 __be32 *n = (__be32 *)&maciv[AES_BLOCK_SIZE - 8]; in ccm_init_mac()
80 memcpy(maciv, req->iv, AES_BLOCK_SIZE - l); in ccm_init_mac()
93 memset(&req->iv[AES_BLOCK_SIZE - l], 0, l); in ccm_init_mac()
151 u8 __aligned(8) mac[AES_BLOCK_SIZE]; in ccm_encrypt()
152 u8 buf[AES_BLOCK_SIZE]; in ccm_encrypt()
161 memcpy(buf, req->iv, AES_BLOCK_SIZE); in ccm_encrypt()
173 u32 tail = walk.nbytes % AES_BLOCK_SIZE; in ccm_encrypt()
209 u8 __aligned(8) mac[AES_BLOCK_SIZE]; in ccm_decrypt()
210 u8 buf[AES_BLOCK_SIZE]; in ccm_decrypt()
219 memcpy(buf, req->iv, AES_BLOCK_SIZE); in ccm_decrypt()
231 u32 tail = walk.nbytes % AES_BLOCK_SIZE; in ccm_decrypt()
273 .ivsize = AES_BLOCK_SIZE,
274 .chunksize = AES_BLOCK_SIZE,
275 .maxauthsize = AES_BLOCK_SIZE,