Lines Matching refs:w
94 struct blkcipher_walk *w, struct priv *ctx, in crypt() argument
108 err = blkcipher_walk_virt(d, w); in crypt()
109 if (!w->nbytes) in crypt()
112 s.t = (be128 *)w->iv; in crypt()
113 avail = w->nbytes; in crypt()
115 wsrc = w->src.virt.addr; in crypt()
116 wdst = w->dst.virt.addr; in crypt()
119 tw(crypto_cipher_tfm(ctx->tweak), w->iv, w->iv); in crypt()
134 err = blkcipher_walk_done(d, w, avail); in crypt()
135 if (!w->nbytes) in crypt()
138 avail = w->nbytes; in crypt()
140 wsrc = w->src.virt.addr; in crypt()
141 wdst = w->dst.virt.addr; in crypt()
151 struct blkcipher_walk w; in encrypt() local
153 blkcipher_walk_init(&w, dst, src, nbytes); in encrypt()
154 return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, in encrypt()
162 struct blkcipher_walk w; in decrypt() local
164 blkcipher_walk_init(&w, dst, src, nbytes); in decrypt()
165 return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, in decrypt()