Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/
Dsm4_generic.c116 int crypto_sm4_expand_key(struct crypto_sm4_ctx *ctx, const u8 *in_key, in crypto_sm4_expand_key()
159 struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_sm4_set_key()
195 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_sm4_encrypt()
205 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_sm4_decrypt()
217 .cra_ctxsize = sizeof(struct crypto_sm4_ctx),
/Linux-v5.4/arch/arm64/crypto/
Dsm4-ce-glue.c22 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_encrypt()
35 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in sm4_ce_decrypt()
52 .cra_ctxsize = sizeof(struct crypto_sm4_ctx),
/Linux-v5.4/include/crypto/
Dsm4.h18 struct crypto_sm4_ctx { struct
25 int crypto_sm4_expand_key(struct crypto_sm4_ctx *ctx, const u8 *in_key, argument