Lines Matching refs:bf_ctx
37 asmlinkage void __blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src,
39 asmlinkage void blowfish_dec_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src);
42 asmlinkage void __blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst,
44 asmlinkage void blowfish_dec_blk_4way(struct bf_ctx *ctx, u8 *dst,
47 static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) in blowfish_enc_blk()
52 static inline void blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_xor()
58 static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_4way()
64 static inline void blowfish_enc_blk_xor_4way(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_xor_4way()
87 void (*fn)(struct bf_ctx *, u8 *, const u8 *), in ecb_crypt() argument
88 void (*fn_4way)(struct bf_ctx *, u8 *, const u8 *)) in ecb_crypt() argument
92 struct bf_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_crypt()
143 static unsigned int __cbc_encrypt(struct bf_ctx *ctx, in __cbc_encrypt()
169 struct bf_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt()
184 static unsigned int __cbc_decrypt(struct bf_ctx *ctx, in __cbc_decrypt()
250 struct bf_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt()
265 static void ctr_crypt_final(struct bf_ctx *ctx, struct skcipher_walk *walk) in ctr_crypt_final()
279 static unsigned int __ctr_crypt(struct bf_ctx *ctx, struct skcipher_walk *walk) in __ctr_crypt()
336 struct bf_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_crypt()
362 .cra_ctxsize = sizeof(struct bf_ctx),
382 .base.cra_ctxsize = sizeof(struct bf_ctx),
394 .base.cra_ctxsize = sizeof(struct bf_ctx),
407 .base.cra_ctxsize = sizeof(struct bf_ctx),