Searched refs:sm4_ctx (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/arch/arm64/crypto/ |
D | sm4-ce-glue.c | 42 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_setkey() 84 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_encrypt() 92 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_decrypt() 100 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_encrypt() 131 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_decrypt() 162 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cfb_encrypt() 204 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cfb_decrypt() 246 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ctr_crypt() 293 .cra_ctxsize = sizeof(struct sm4_ctx), 307 .cra_ctxsize = sizeof(struct sm4_ctx), [all …]
|
D | sm4-ce-cipher-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),
|
D | sm4-neon-glue.c | 38 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_setkey() 83 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_encrypt() 91 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ecb_decrypt() 99 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_encrypt() 131 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cbc_decrypt() 191 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cfb_encrypt() 231 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_cfb_decrypt() 295 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); in sm4_ctr_crypt() 363 .cra_ctxsize = sizeof(struct sm4_ctx), 377 .cra_ctxsize = sizeof(struct sm4_ctx), [all …]
|
/Linux-v6.1/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),
|
D | sm4.c | 119 int sm4_expandkey(struct sm4_ctx *ctx, const u8 *in_key, in sm4_expandkey()
|
/Linux-v6.1/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-v6.1/include/crypto/ |
D | sm4.h | 19 struct sm4_ctx { struct 37 int sm4_expandkey(struct sm4_ctx *ctx, const u8 *in_key, argument
|