Lines Matching refs:iv
27 u8 *iv = walk->iv; in crypto_cbc_encrypt_segment() local
34 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
35 fn(tfm, dst, iv); in crypto_cbc_encrypt_segment()
36 memcpy(iv, dst, bsize); in crypto_cbc_encrypt_segment()
54 u8 *iv = walk->iv; in crypto_cbc_encrypt_inplace() local
61 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
63 iv = src; in crypto_cbc_encrypt_inplace()
68 memcpy(walk->iv, iv, bsize); in crypto_cbc_encrypt_inplace()
102 u8 *iv = walk->iv; in crypto_cbc_decrypt_segment() local
110 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment()
111 iv = src; in crypto_cbc_decrypt_segment()
117 memcpy(walk->iv, iv, bsize); in crypto_cbc_decrypt_segment()
149 crypto_xor(src, walk->iv, bsize); in crypto_cbc_decrypt_inplace()
150 memcpy(walk->iv, last_iv, bsize); in crypto_cbc_decrypt_inplace()