Home
last modified time | relevance | path

Searched refs:c_alg (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/crypto/hisilicon/sec/
Dsec_algs.c23 unsigned c_alg : 3; member
31 .c_alg = SEC_C_ALG_DES,
36 .c_alg = SEC_C_ALG_DES,
41 .c_alg = SEC_C_ALG_3DES,
46 .c_alg = SEC_C_ALG_3DES,
51 .c_alg = SEC_C_ALG_3DES,
56 .c_alg = SEC_C_ALG_3DES,
61 .c_alg = SEC_C_ALG_AES,
66 .c_alg = SEC_C_ALG_AES,
71 .c_alg = SEC_C_ALG_AES,
[all …]
/linux-5.19.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c753 if (c_ctx->c_alg == SEC_CALG_SM4 && in sec_skcipher_aes_sm4_setkey()
779 const u32 keylen, const enum sec_calg c_alg, in sec_skcipher_setkey() argument
795 c_ctx->c_alg = c_alg; in sec_skcipher_setkey()
798 switch (c_alg) { in sec_skcipher_setkey()
826 #define GEN_SEC_SETKEY_FUNC(name, c_alg, c_mode) \ argument
830 return sec_skcipher_setkey(tfm, key, keylen, c_alg, c_mode); \
1099 const enum sec_calg c_alg, in sec_aead_setkey() argument
1111 ctx->c_ctx.c_alg = c_alg; in sec_aead_setkey()
1249 sec_sqe->type2.c_alg = c_ctx->c_alg; in sec_skcipher_bd_fill()
1297 sec_sqe3->c_mode_alg = ((u8)c_ctx->c_alg << SEC_CALG_OFFSET_V3) | in sec_skcipher_bd_fill_v3()
[all …]
Dsec.h107 u8 c_alg; member
Dsec_crypto.h114 __u8 c_alg; member