Lines Matching refs:src
26 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_segment() local
31 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment()
33 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_encrypt_segment()
35 src += bsize; in crypto_pcbc_encrypt_segment()
48 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_inplace() local
53 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace()
54 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace()
55 crypto_cipher_encrypt_one(tfm, src, iv); in crypto_pcbc_encrypt_inplace()
56 crypto_xor_cpy(iv, tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace()
58 src += bsize; in crypto_pcbc_encrypt_inplace()
75 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_pcbc_encrypt()
93 u8 *src = walk->src.virt.addr; in crypto_pcbc_decrypt_segment() local
98 crypto_cipher_decrypt_one(tfm, dst, src); in crypto_pcbc_decrypt_segment()
100 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_decrypt_segment()
102 src += bsize; in crypto_pcbc_decrypt_segment()
115 u8 *src = walk->src.virt.addr; in crypto_pcbc_decrypt_inplace() local
120 memcpy(tmpbuf, src, bsize); in crypto_pcbc_decrypt_inplace()
121 crypto_cipher_decrypt_one(tfm, src, src); in crypto_pcbc_decrypt_inplace()
122 crypto_xor(src, iv, bsize); in crypto_pcbc_decrypt_inplace()
123 crypto_xor_cpy(iv, src, tmpbuf, bsize); in crypto_pcbc_decrypt_inplace()
125 src += bsize; in crypto_pcbc_decrypt_inplace()
142 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_pcbc_decrypt()