Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/hisilicon/sec/
A 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,
61 .c_alg = SEC_C_ALG_AES,
66 .c_alg = SEC_C_ALG_AES,
71 .c_alg = SEC_C_ALG_AES,
76 .c_alg = SEC_C_ALG_AES,
[all …]
/linux-6.3-rc2/drivers/crypto/hisilicon/sec2/
A Dsec_crypto.c796 if (c_ctx->c_alg == SEC_CALG_SM4 && in sec_skcipher_aes_sm4_setkey()
838 c_ctx->c_alg = c_alg; in sec_skcipher_setkey()
841 switch (c_alg) { in sec_skcipher_setkey()
1142 const enum sec_calg c_alg, in sec_aead_setkey() argument
1154 ctx->c_ctx.c_alg = c_alg; in sec_aead_setkey()
1292 sec_sqe->type2.c_alg = c_ctx->c_alg; in sec_skcipher_bd_fill()
2050 u8 c_alg = ctx->c_ctx.c_alg; in sec_skcipher_param_check() local
2064 if (c_alg == SEC_CALG_3DES) { in sec_skcipher_param_check()
2070 } else if (c_alg == SEC_CALG_AES || c_alg == SEC_CALG_SM4) { in sec_skcipher_param_check()
2312 u8 c_alg = ctx->c_ctx.c_alg; in sec_aead_param_check() local
[all …]
A Dsec.h108 u8 c_alg; member
A Dsec_crypto.h114 __u8 c_alg; member

Completed in 15 milliseconds