Home
last modified time | relevance | path

Searched refs:saltBuff (Results 1 – 4 of 4) sorted by relevance

/base/security/device_auth/services/mk_agree/src/mock/
Dkey_manager_mock.c51 const Uint8Buff *saltBuff, Uint8Buff *returnHmac) in GenerateAndSavePseudonymId() argument
56 (void)saltBuff; in GenerateAndSavePseudonymId()
/base/security/device_auth/services/mk_agree/src/
Dmk_agree_task.c31 Uint8Buff saltBuff = { pakeTask->clientSalt, SALT_LEN }; in GeneratePakeRequestPayload() local
32 int32_t res = pakeTask->taskBase.loader->generateRandom(&saltBuff); in GeneratePakeRequestPayload()
152 Uint8Buff saltBuff = { NULL, 0 }; in ComputeKcfData() local
153 int32_t res = CombineSalt(firstSalt, secondSalt, &saltBuff); in ComputeKcfData()
161 &info, &saltBuff, &tmpKcfData); in ComputeKcfData()
162 FreeUint8Buff(&saltBuff); in ComputeKcfData()
316 Uint8Buff saltBuff = { NULL, 0 }; in GenerateMkByPeer() local
317 res = CombineSalt(&clientSaltBuff, &serverSaltBuff, &saltBuff); in GenerateMkByPeer()
322 res = GeneratePseudonymPsk(pakeTask->taskBase.peerUdid, &saltBuff); in GenerateMkByPeer()
323 FreeUint8Buff(&saltBuff); in GenerateMkByPeer()
Dkey_manager.c322 const Uint8Buff *saltBuff, Uint8Buff *returnHmac) in GenerateAndSavePseudonymId() argument
324 if (peerDeviceId == NULL || info == NULL || saltBuff == NULL || returnHmac == NULL) { in GenerateAndSavePseudonymId()
337 res = GetLoaderInstance()->computeHmac(&pskAliasBuff, saltBuff, &pseudonymIdBuff, true); in GenerateAndSavePseudonymId()
/base/security/device_auth/services/mk_agree/inc/
Dkey_manager.h36 const Uint8Buff *saltBuff, Uint8Buff *returnHmac);