Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/crypto/
H A Dsm4_generic.c116 int crypto_sm4_expand_key(struct crypto_sm4_ctx *ctx, const u8 *in_key, in crypto_sm4_expand_key()
160 struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_sm4_set_key()
189 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_sm4_encrypt()
199 const struct crypto_sm4_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_sm4_decrypt()
211 .cra_ctxsize = sizeof(struct crypto_sm4_ctx),
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A 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),
/OK3568_Linux_fs/kernel/include/crypto/
H A Dsm4.h18 struct crypto_sm4_ctx { struct
25 int crypto_sm4_expand_key(struct crypto_sm4_ctx *ctx, const u8 *in_key, argument