Home
last modified time | relevance | path

Searched refs:SEC_CMODE_CCM (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/crypto/hisilicon/sec2/
Dsec_crypto.h43 SEC_CMODE_CCM = 0x5, enumerator
Dsec_crypto.c1158 if (c_mode == SEC_CMODE_CCM || c_mode == SEC_CMODE_GCM) { in sec_aead_setkey()
1218 SEC_HMAC_CCM_MAC, SEC_CMODE_CCM) in GEN_SEC_AEAD_SETKEY_FUNC()
1222 SEC_HMAC_CCM_MAC, SEC_CMODE_CCM) in GEN_SEC_AEAD_SETKEY_FUNC()
1522 if (ctx->c_ctx.c_mode == SEC_CMODE_CCM) { in sec_aead_set_iv()
1635 if (ctx->c_ctx.c_mode == SEC_CMODE_CCM || in sec_aead_bd_fill()
1690 if (ctx->c_ctx.c_mode == SEC_CMODE_CCM || in sec_aead_bd_fill_v3()
2274 (c_mode == SEC_CMODE_CCM && (authsize < MIN_MAC_LEN || in sec_aead_spec_check()
2280 if (c_mode == SEC_CMODE_CCM) { in sec_aead_spec_check()