Home
last modified time | relevance | path

Searched refs:hmacKey (Results 1 – 5 of 5) sorted by relevance

/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/
Dpake_v1_protocol_common.c98 params->hmacKey.length = PAKE_HMAC_KEY_LEN; in AllocDefaultParams()
99 params->hmacKey.val = (uint8_t *)HcMalloc(params->hmacKey.length, 0); in AllocDefaultParams()
100 if (params->hmacKey.val == NULL) { in AllocDefaultParams()
227 unionKey.length = params->sessionKey.length + params->hmacKey.length; in DeriveKeyFromSharedSecret()
246 if (memcpy_s(params->hmacKey.val, params->hmacKey.length, in DeriveKeyFromSharedSecret()
247 unionKey.val + params->sessionKey.length, params->hmacKey.length) != EOK) { in DeriveKeyFromSharedSecret()
306 res = params->loader->computeHmac(&(params->hmacKey), &challenge, &(params->kcfData), false); in GenerateProof()
336 res = params->loader->computeHmac(&(params->hmacKey), &challenge, &verifyProof, false); in VerifyProof()
/base/security/device_auth/services/protocol/src/pake_protocol/
Dpake_common.c30 FreeAndCleanKey(&params->hmacKey); in CleanPakeSensitiveKeys()
/base/security/device_auth/services/protocol/inc/pake_protocol/
Dpake_defs.h62 Uint8Buff hmacKey; member
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob.c463 uint8_t hmacKey[HKS_KEY_BLOB_AT_HMAC_KEY_BYTES] = {0}; in HksVerifyAuthTokenSign()
464 struct HksBlob macKeyBlob = { HKS_KEY_BLOB_AT_HMAC_KEY_BYTES, hmacKey }; in HksVerifyAuthTokenSign()
475 (void)memset_s(hmacKey, sizeof(hmacKey), 0, sizeof(hmacKey)); in HksVerifyAuthTokenSign()
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/
Dpake_v2_protocol_common.c131 params->hmacKey.val = NULL; in FillDefaultValue()
132 params->hmacKey.length = 0; in FillDefaultValue()