Lines Matching full:iv
17 u8 *iv) in crypto_cbc_encrypt_segment() argument
22 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
23 crypto_lskcipher_encrypt(tfm, iv, dst, bsize, NULL); in crypto_cbc_encrypt_segment()
24 memcpy(iv, dst, bsize); in crypto_cbc_encrypt_segment()
34 u8 *iv = oiv; in crypto_cbc_encrypt_inplace() local
40 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
42 iv = src; in crypto_cbc_encrypt_inplace()
47 memcpy(oiv, iv, bsize); in crypto_cbc_encrypt_inplace()
54 u8 *dst, unsigned len, u8 *iv, u32 flags) in crypto_cbc_encrypt() argument
62 rem = crypto_cbc_encrypt_inplace(cipher, dst, len, iv); in crypto_cbc_encrypt()
64 rem = crypto_cbc_encrypt_segment(cipher, src, dst, len, iv); in crypto_cbc_encrypt()
74 const u8 *iv = oiv; in crypto_cbc_decrypt_segment() local
81 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment()
82 iv = src; in crypto_cbc_decrypt_segment()
88 memcpy(oiv, iv, bsize); in crypto_cbc_decrypt_segment()
95 u8 *src, unsigned nbytes, u8 *iv) in crypto_cbc_decrypt_inplace() argument
115 crypto_xor(src, iv, bsize); in crypto_cbc_decrypt_inplace()
116 memcpy(iv, last_iv, bsize); in crypto_cbc_decrypt_inplace()
123 u8 *dst, unsigned len, u8 *iv, u32 flags) in crypto_cbc_decrypt() argument
131 rem = crypto_cbc_decrypt_inplace(cipher, dst, len, iv); in crypto_cbc_decrypt()
133 rem = crypto_cbc_decrypt_segment(cipher, src, dst, len, iv); in crypto_cbc_decrypt()