Lines Matching refs:dst

49 asmlinkage void twofish_ecb_enc_8way(struct twofish_ctx *ctx, u8 *dst,
51 asmlinkage void twofish_ecb_dec_8way(struct twofish_ctx *ctx, u8 *dst,
54 asmlinkage void twofish_cbc_dec_8way(struct twofish_ctx *ctx, u8 *dst,
56 asmlinkage void twofish_ctr_8way(struct twofish_ctx *ctx, u8 *dst,
59 asmlinkage void twofish_xts_enc_8way(struct twofish_ctx *ctx, u8 *dst,
61 asmlinkage void twofish_xts_dec_8way(struct twofish_ctx *ctx, u8 *dst,
64 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way() argument
67 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way()
70 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc() argument
72 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in twofish_xts_enc()
76 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec() argument
78 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in twofish_xts_dec()
173 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument
176 return glue_ecb_crypt_128bit(&twofish_enc, desc, dst, src, nbytes); in ecb_encrypt()
179 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument
182 return glue_ecb_crypt_128bit(&twofish_dec, desc, dst, src, nbytes); in ecb_decrypt()
185 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() argument
189 dst, src, nbytes); in cbc_encrypt()
192 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() argument
195 return glue_cbc_decrypt_128bit(&twofish_dec_cbc, desc, dst, src, in cbc_decrypt()
199 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() argument
202 return glue_ctr_crypt_128bit(&twofish_ctr, desc, dst, src, nbytes); in ctr_crypt()
265 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() argument
285 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_encrypt()
291 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() argument
311 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_decrypt()
317 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() argument
322 return glue_xts_crypt_128bit(&twofish_enc_xts, desc, dst, src, nbytes, in xts_encrypt()
327 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt() argument
332 return glue_xts_crypt_128bit(&twofish_dec_xts, desc, dst, src, nbytes, in xts_decrypt()