Lines Matching refs:AES_BLOCK_SIZE
43 int len, const u8 iv[AES_BLOCK_SIZE]) in aescfb_encrypt() argument
45 u8 ks[AES_BLOCK_SIZE]; in aescfb_encrypt()
50 crypto_xor_cpy(dst, src, ks, min(len, AES_BLOCK_SIZE)); in aescfb_encrypt()
53 dst += AES_BLOCK_SIZE; in aescfb_encrypt()
54 src += AES_BLOCK_SIZE; in aescfb_encrypt()
55 len -= AES_BLOCK_SIZE; in aescfb_encrypt()
72 int len, const u8 iv[AES_BLOCK_SIZE]) in aescfb_decrypt() argument
74 u8 ks[2][AES_BLOCK_SIZE]; in aescfb_decrypt()
79 if (len > AES_BLOCK_SIZE) in aescfb_decrypt()
87 crypto_xor_cpy(dst, src, ks[i], min(len, AES_BLOCK_SIZE)); in aescfb_decrypt()
89 dst += AES_BLOCK_SIZE; in aescfb_decrypt()
90 src += AES_BLOCK_SIZE; in aescfb_decrypt()
91 len -= AES_BLOCK_SIZE; in aescfb_decrypt()
113 u8 iv[AES_BLOCK_SIZE];