Searched refs:sm4_ctx (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/crypto/ |
| D | sm4_generic.c | 34 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/ |
| D | sm4-ce-glue.c | 23 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/ |
| D | sm4_aesni_avx2_glue.c | 32 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),
|
| D | sm4_aesni_avx_glue.c | 36 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/ |
| D | sm4.h | 19 struct sm4_ctx { struct 33 int sm4_expandkey(struct sm4_ctx *ctx, const u8 *in_key, argument
|
| /Linux-v5.15/lib/crypto/ |
| D | sm4.c | 111 int sm4_expandkey(struct sm4_ctx *ctx, const u8 *in_key, in sm4_expandkey()
|