Lines Matching refs:walk
21 struct skcipher_walk *walk, in crypto_pcbc_encrypt_segment() argument
25 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_segment()
26 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_segment()
27 u8 *dst = walk->dst.virt.addr; in crypto_pcbc_encrypt_segment()
28 u8 * const iv = walk->iv; in crypto_pcbc_encrypt_segment()
43 struct skcipher_walk *walk, in crypto_pcbc_encrypt_inplace() argument
47 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_inplace()
48 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_inplace()
49 u8 * const iv = walk->iv; in crypto_pcbc_encrypt_inplace()
68 struct skcipher_walk walk; in crypto_pcbc_encrypt() local
72 err = skcipher_walk_virt(&walk, req, false); in crypto_pcbc_encrypt()
74 while ((nbytes = walk.nbytes)) { in crypto_pcbc_encrypt()
75 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_pcbc_encrypt()
76 nbytes = crypto_pcbc_encrypt_inplace(req, &walk, in crypto_pcbc_encrypt()
79 nbytes = crypto_pcbc_encrypt_segment(req, &walk, in crypto_pcbc_encrypt()
81 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_encrypt()
88 struct skcipher_walk *walk, in crypto_pcbc_decrypt_segment() argument
92 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_segment()
93 u8 *src = walk->src.virt.addr; in crypto_pcbc_decrypt_segment()
94 u8 *dst = walk->dst.virt.addr; in crypto_pcbc_decrypt_segment()
95 u8 * const iv = walk->iv; in crypto_pcbc_decrypt_segment()
110 struct skcipher_walk *walk, in crypto_pcbc_decrypt_inplace() argument
114 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_inplace()
115 u8 *src = walk->src.virt.addr; in crypto_pcbc_decrypt_inplace()
116 u8 * const iv = walk->iv; in crypto_pcbc_decrypt_inplace()
135 struct skcipher_walk walk; in crypto_pcbc_decrypt() local
139 err = skcipher_walk_virt(&walk, req, false); in crypto_pcbc_decrypt()
141 while ((nbytes = walk.nbytes)) { in crypto_pcbc_decrypt()
142 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_pcbc_decrypt()
143 nbytes = crypto_pcbc_decrypt_inplace(req, &walk, in crypto_pcbc_decrypt()
146 nbytes = crypto_pcbc_decrypt_segment(req, &walk, in crypto_pcbc_decrypt()
148 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_decrypt()