Searched refs:pseudonymIdBuff (Results 1 - 2 of 2) sorted by relevance
/base/security/device_auth/services/mk_agree/src/ |
H A D | key_manager.c | 335 Uint8Buff pseudonymIdBuff = { pseudonymIdVal, MK_LEN }; in GenerateAndSavePseudonymId() local 337 res = GetLoaderInstance()->computeHmac(&keyParams, saltBuff, &pseudonymIdBuff); in GenerateAndSavePseudonymId() 342 if (DeepCopyUint8Buff(&pseudonymIdBuff, returnHmac) != HC_SUCCESS) { in GenerateAndSavePseudonymId() 346 uint32_t pdidLen = pseudonymIdBuff.length * BYTE_TO_HEX_OPER_LENGTH + 1; in GenerateAndSavePseudonymId() 353 res = ByteToHexString(pseudonymIdBuff.val, pseudonymIdBuff.length, pdid, pdidLen); in GenerateAndSavePseudonymId()
|
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
H A D | pake_v1_protocol_task_common.c | 491 static int32_t AddPseudonymIdToPayload(CJson *payload, const Uint8Buff *pseudonymIdBuff) in AddPseudonymIdToPayload() argument 493 uint32_t hexLen = pseudonymIdBuff->length * BYTE_TO_HEX_OPER_LENGTH + 1; in AddPseudonymIdToPayload() 499 int32_t res = ByteToHexString(pseudonymIdBuff->val, pseudonymIdBuff->length, hexStr, hexLen); in AddPseudonymIdToPayload() 558 Uint8Buff *pseudonymIdBuff) in GenerateSelfPseudonymChlgAndId() 583 res = params->baseParams.loader->computeHmacWithThreeStage(&pskAliasParams, pseudonymChlgBuff, pseudonymIdBuff); in GenerateSelfPseudonymChlgAndId() 591 Uint8Buff *pseudonymIdBuff) in GetSelfPseudonymChlgAndIdByExtInfo() 599 if (memcpy_s(pseudonymIdBuff->val, pseudonymIdBuff->length, params->pseudonymExtInfo.selfNextPseudonymId.val, in GetSelfPseudonymChlgAndIdByExtInfo() 616 Uint8Buff pseudonymIdBuff in AddPseudonymIdAndChallenge() local 557 GenerateSelfPseudonymChlgAndId(const PakeParams *params, Uint8Buff *pseudonymChlgBuff, Uint8Buff *pseudonymIdBuff) GenerateSelfPseudonymChlgAndId() argument 590 GetSelfPseudonymChlgAndIdByExtInfo(const PakeParams *params, Uint8Buff *pseudonymChallengeBuff, Uint8Buff *pseudonymIdBuff) GetSelfPseudonymChlgAndIdByExtInfo() argument [all...] |
Completed in 3 milliseconds