Home
last modified time | relevance | path

Searched refs:sm4_ctx (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/crypto/
Dsm4_generic.c34 struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_setkey()
43 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_encrypt()
52 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_decrypt()
63 .cra_ctxsize = sizeof(struct sm4_ctx),
/Linux-v5.15/arch/arm64/crypto/
Dsm4-ce-glue.c23 struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_setkey()
30 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_encrypt()
43 const struct sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_decrypt()
60 .cra_ctxsize = sizeof(struct sm4_ctx),
/Linux-v5.15/arch/x86/crypto/
Dsm4_aesni_avx2_glue.c32 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_skcipher_setkey()
64 .cra_ctxsize = sizeof(struct sm4_ctx),
80 .cra_ctxsize = sizeof(struct sm4_ctx),
97 .cra_ctxsize = sizeof(struct sm4_ctx),
115 .cra_ctxsize = sizeof(struct sm4_ctx),
Dsm4_aesni_avx_glue.c36 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_skcipher_setkey()
78 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_avx_ecb_encrypt()
87 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_avx_ecb_decrypt()
96 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_encrypt()
130 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_avx_cbc_decrypt()
194 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cfb_encrypt()
236 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_avx_cfb_decrypt()
305 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_avx_ctr_crypt()
383 .cra_ctxsize = sizeof(struct sm4_ctx),
399 .cra_ctxsize = sizeof(struct sm4_ctx),
[all …]
/Linux-v5.15/include/crypto/
Dsm4.h19 struct sm4_ctx { struct
33 int sm4_expandkey(struct sm4_ctx *ctx, const u8 *in_key, argument
/Linux-v5.15/lib/crypto/
Dsm4.c111 int sm4_expandkey(struct sm4_ctx *ctx, const u8 *in_key, in sm4_expandkey()