Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c796 if (c_ctx->c_alg == SEC_CALG_SM4 && in sec_skcipher_aes_sm4_setkey()
822 const u32 keylen, const enum sec_calg c_alg, in sec_skcipher_setkey() argument
838 c_ctx->c_alg = c_alg; in sec_skcipher_setkey()
841 switch (c_alg) { in sec_skcipher_setkey()
869 #define GEN_SEC_SETKEY_FUNC(name, c_alg, c_mode) \ argument
873 return sec_skcipher_setkey(tfm, key, keylen, c_alg, c_mode); \
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()
1340 sec_sqe3->c_mode_alg = ((u8)c_ctx->c_alg << SEC_CALG_OFFSET_V3) | in sec_skcipher_bd_fill_v3()
[all …]
Dsec.h108 u8 c_alg; member
Dsec_crypto.h114 __u8 c_alg; member