Searched refs:twofish_ctx (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/arch/x86/include/asm/crypto/ |
H A D | twofish.h | 11 struct twofish_ctx twofish_ctx; member in struct:twofish_lrw_ctx 15 struct twofish_ctx tweak_ctx; 16 struct twofish_ctx crypt_ctx; 20 asmlinkage void twofish_enc_blk(struct twofish_ctx *ctx, u8 *dst, 22 asmlinkage void twofish_dec_blk(struct twofish_ctx *ctx, u8 *dst, 26 asmlinkage void __twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, 28 asmlinkage void twofish_dec_blk_3way(struct twofish_ctx *ctx, u8 *dst,
|
/linux-4.1.27/include/crypto/ |
H A D | twofish.h | 16 struct twofish_ctx { struct 20 int __twofish_setkey(struct twofish_ctx *ctx, const u8 *key,
|
/linux-4.1.27/arch/x86/crypto/ |
H A D | twofish_glue_3way.c | 39 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, twofish_enc_blk_3way() 45 static inline void twofish_enc_blk_xor_3way(struct twofish_ctx *ctx, u8 *dst, twofish_enc_blk_xor_3way() 189 struct twofish_ctx *ctx = priv; encrypt_callback() 204 struct twofish_ctx *ctx = priv; decrypt_callback() 222 err = __twofish_setkey(&ctx->twofish_ctx, key, keylen - TF_BLOCK_SIZE, lrw_twofish_setkey() 241 .crypt_ctx = &ctx->twofish_ctx, lrw_encrypt() 258 .crypt_ctx = &ctx->twofish_ctx, lrw_decrypt() 341 .cra_ctxsize = sizeof(struct twofish_ctx), 360 .cra_ctxsize = sizeof(struct twofish_ctx), 380 .cra_ctxsize = sizeof(struct twofish_ctx),
|
H A D | twofish_avx_glue.c | 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, twofish_enc_blk_3way() 219 struct twofish_ctx *ctx; 273 .ctx = &ctx->twofish_ctx, lrw_encrypt() 299 .ctx = &ctx->twofish_ctx, lrw_decrypt() 346 .cra_ctxsize = sizeof(struct twofish_ctx), 366 .cra_ctxsize = sizeof(struct twofish_ctx), 386 .cra_ctxsize = sizeof(struct twofish_ctx),
|
H A D | twofish_glue.c | 47 asmlinkage void twofish_enc_blk(struct twofish_ctx *ctx, u8 *dst, 50 asmlinkage void twofish_dec_blk(struct twofish_ctx *ctx, u8 *dst, 70 .cra_ctxsize = sizeof(struct twofish_ctx),
|
/linux-4.1.27/crypto/ |
H A D | twofish_generic.c | 111 struct twofish_ctx *ctx = crypto_tfm_ctx(tfm); twofish_encrypt() 148 struct twofish_ctx *ctx = crypto_tfm_ctx(tfm); twofish_decrypt() 188 .cra_ctxsize = sizeof(struct twofish_ctx),
|
H A D | twofish_common.c | 583 int __twofish_setkey(struct twofish_ctx *ctx, const u8 *key, __twofish_setkey()
|
Completed in 128 milliseconds