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

/linux-4.1.27/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.1.27/arch/x86/crypto/
H A Dcast6_avx_glue.c45 asmlinkage void cast6_ecb_enc_8way(struct cast6_ctx *ctx, u8 *dst,
47 asmlinkage void cast6_ecb_dec_8way(struct cast6_ctx *ctx, u8 *dst,
50 asmlinkage void cast6_cbc_dec_8way(struct cast6_ctx *ctx, u8 *dst,
52 asmlinkage void cast6_ctr_8way(struct cast6_ctx *ctx, u8 *dst, const u8 *src,
55 asmlinkage void cast6_xts_enc_8way(struct cast6_ctx *ctx, u8 *dst,
57 asmlinkage void cast6_xts_dec_8way(struct cast6_ctx *ctx, u8 *dst,
205 struct cast6_ctx *ctx;
245 struct cast6_ctx cast6_ctx; member in struct:cast6_lrw_ctx
254 err = __cast6_setkey(&ctx->cast6_ctx, key, keylen - CAST6_BLOCK_SIZE, lrw_cast6_setkey()
268 .ctx = &ctx->cast6_ctx, lrw_encrypt()
294 .ctx = &ctx->cast6_ctx, lrw_decrypt()
322 struct cast6_ctx tweak_ctx;
323 struct cast6_ctx crypt_ctx;
378 .cra_ctxsize = sizeof(struct cast6_ctx),
398 .cra_ctxsize = sizeof(struct cast6_ctx),
418 .cra_ctxsize = sizeof(struct cast6_ctx),
/linux-4.1.27/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 193 milliseconds