Searched refs:c_alg (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 23 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/ |
D | sec_crypto.c | 753 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 …]
|
D | sec.h | 107 u8 c_alg; member
|
D | sec_crypto.h | 114 __u8 c_alg; member
|