Home
last modified time | relevance | path

Searched refs:cast6_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/include/crypto/
Dcast6.h12 struct cast6_ctx { struct
17 int __cast6_setkey(struct cast6_ctx *ctx, const u8 *key, argument
21 void __cast6_encrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src);
22 void __cast6_decrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src);
/linux-4.4.14/arch/x86/crypto/
Dcast6_avx_glue.c44 asmlinkage void cast6_ecb_enc_8way(struct cast6_ctx *ctx, u8 *dst,
46 asmlinkage void cast6_ecb_dec_8way(struct cast6_ctx *ctx, u8 *dst,
49 asmlinkage void cast6_cbc_dec_8way(struct cast6_ctx *ctx, u8 *dst,
51 asmlinkage void cast6_ctr_8way(struct cast6_ctx *ctx, u8 *dst, const u8 *src,
54 asmlinkage void cast6_xts_enc_8way(struct cast6_ctx *ctx, u8 *dst,
56 asmlinkage void cast6_xts_dec_8way(struct cast6_ctx *ctx, u8 *dst,
204 struct cast6_ctx *ctx;
244 struct cast6_ctx cast6_ctx; member
253 err = __cast6_setkey(&ctx->cast6_ctx, key, keylen - CAST6_BLOCK_SIZE, in lrw_cast6_setkey()
267 .ctx = &ctx->cast6_ctx, in lrw_encrypt()
[all …]
/linux-4.4.14/crypto/
Dcast6_generic.c114 int __cast6_setkey(struct cast6_ctx *c, const u8 *in_key, in __cast6_setkey()
184 void __cast6_encrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast6_encrypt()
222 void __cast6_decrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast6_decrypt()
266 .cra_ctxsize = sizeof(struct cast6_ctx),