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

/linux-4.4.14/include/crypto/
H A Dcast6.h12 struct cast6_ctx { struct
17 int __cast6_setkey(struct cast6_ctx *ctx, const u8 *key,
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/
H A 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 in struct:cast6_lrw_ctx
253 err = __cast6_setkey(&ctx->cast6_ctx, key, keylen - CAST6_BLOCK_SIZE, lrw_cast6_setkey()
267 .ctx = &ctx->cast6_ctx, lrw_encrypt()
293 .ctx = &ctx->cast6_ctx, lrw_decrypt()
321 struct cast6_ctx tweak_ctx;
322 struct cast6_ctx crypt_ctx;
377 .cra_ctxsize = sizeof(struct cast6_ctx),
397 .cra_ctxsize = sizeof(struct cast6_ctx),
417 .cra_ctxsize = sizeof(struct cast6_ctx),
/linux-4.4.14/crypto/
H A Dcast6_generic.c114 int __cast6_setkey(struct cast6_ctx *c, const u8 *in_key, __cast6_setkey()
184 void __cast6_encrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) __cast6_encrypt()
222 void __cast6_decrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) __cast6_decrypt()
266 .cra_ctxsize = sizeof(struct cast6_ctx),

Completed in 192 milliseconds