Searched refs:HMAC_LEN (Results 1 – 7 of 7) sorted by relevance
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/iso_protocol_task/ |
D | iso_client_protocol_task.c | 215 uint8_t *hmac = (uint8_t *)HcMalloc(HMAC_LEN, 0); in GenerateSessionKey() 221 if (GetByteFromJson(in, FIELD_RETURN_CODE_MAC, hmac, HMAC_LEN) != 0) { in GenerateSessionKey() 228 res = IsoClientGenSessionKey(¶ms->baseParams, 0, hmac, HMAC_LEN); in GenerateSessionKey()
|
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/ |
D | pake_v1_protocol_common.c | 105 params->kcfData.length = HMAC_LEN; in AllocDefaultParams() 112 params->kcfDataPeer.length = HMAC_LEN; in AllocDefaultParams() 334 uint8_t verifyProofVal[HMAC_LEN] = { 0 }; in VerifyProof() 335 Uint8Buff verifyProof = { verifyProofVal, HMAC_LEN }; in VerifyProof()
|
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
D | alg_defs.h | 23 #define HMAC_LEN 32 macro
|
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/ |
D | pake_v2_protocol_common.c | 95 params->kcfData.length = HMAC_LEN; in AllocDefaultParams() 102 params->kcfDataPeer.length = HMAC_LEN; in AllocDefaultParams()
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
D | huks_adapter.c | 199 CHECK_LEN_EQUAL_RETURN(outHmac->length, HMAC_LEN, "outHmac->length"); in ComputeHmac() 224 if (ret != HKS_SUCCESS || hmacBlob.size != HMAC_LEN) { in ComputeHmac()
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/ |
D | huks_adapter.c | 168 CHECK_LEN_EQUAL_RETURN(outHmac->length, HMAC_LEN, "outHmac->length"); in ComputeHmac() 193 if (ret != HKS_SUCCESS || hmacBlob.size != HMAC_LEN) { in ComputeHmac()
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
D | huks_adapter.c | 180 CHECK_LEN_EQUAL_RETURN(outHmac->length, HMAC_LEN, "outHmac->length"); in ComputeHmac() 205 if (ret != HKS_SUCCESS || hmacBlob.size != HMAC_LEN) { in ComputeHmac()
|