Lines Matching refs:dst

51 asmlinkage void twofish_ecb_enc_8way(struct twofish_ctx *ctx, u8 *dst,
53 asmlinkage void twofish_ecb_dec_8way(struct twofish_ctx *ctx, u8 *dst,
56 asmlinkage void twofish_cbc_dec_8way(struct twofish_ctx *ctx, u8 *dst,
58 asmlinkage void twofish_ctr_8way(struct twofish_ctx *ctx, u8 *dst,
61 asmlinkage void twofish_xts_enc_8way(struct twofish_ctx *ctx, u8 *dst,
63 asmlinkage void twofish_xts_dec_8way(struct twofish_ctx *ctx, u8 *dst,
66 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way() argument
69 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way()
72 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc() argument
74 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in twofish_xts_enc()
78 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec() argument
80 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in twofish_xts_dec()
175 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument
178 return glue_ecb_crypt_128bit(&twofish_enc, desc, dst, src, nbytes); in ecb_encrypt()
181 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument
184 return glue_ecb_crypt_128bit(&twofish_dec, desc, dst, src, nbytes); in ecb_decrypt()
187 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() argument
191 dst, src, nbytes); in cbc_encrypt()
194 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() argument
197 return glue_cbc_decrypt_128bit(&twofish_dec_cbc, desc, dst, src, in cbc_decrypt()
201 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() argument
204 return glue_ctr_crypt_128bit(&twofish_ctr, desc, dst, src, nbytes); in ctr_crypt()
267 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() argument
287 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_encrypt()
293 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() argument
313 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_decrypt()
319 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() argument
324 return glue_xts_crypt_128bit(&twofish_enc_xts, desc, dst, src, nbytes, in xts_encrypt()
329 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt() argument
334 return glue_xts_crypt_128bit(&twofish_dec_xts, desc, dst, src, nbytes, in xts_decrypt()