Lines Matching refs:dst
86 static inline void xts_round(struct sinfo *s, void *dst, const void *src) in xts_round() argument
88 be128_xor(dst, s->t, src); /* PP <- T xor P */ in xts_round()
89 s->fn(s->tfm, dst, dst); /* CC <- E(Key1,PP) */ in xts_round()
90 be128_xor(dst, dst, s->t); /* C <- T xor CC */ in xts_round()
116 wdst = w->dst.virt.addr; in crypt()
141 wdst = w->dst.virt.addr; in crypt()
147 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() argument
153 blkcipher_walk_init(&w, dst, src, nbytes); in encrypt()
158 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt() argument
164 blkcipher_walk_init(&w, dst, src, nbytes); in decrypt()
177 be128 *src, *dst, *t; in xts_crypt() local
192 dst = (be128 *)walk.dst.virt.addr; in xts_crypt()
208 be128_xor(dst + i, t, src + i); in xts_crypt()
212 req->crypt_fn(req->crypt_ctx, (u8 *)dst, in xts_crypt()
217 be128_xor(dst + i, dst + i, &t_buf[i]); in xts_crypt()
220 dst += nblocks; in xts_crypt()
234 dst = (be128 *)walk.dst.virt.addr; in xts_crypt()