Searched refs:pskBuff (Results 1 - 3 of 3) sorted by relevance
/base/security/device_auth/services/mk_agree/src/ |
H A D | key_manager.c | 272 Uint8Buff pskBuff = { NULL, 0 }; in GeneratePseudonymPsk() local 273 if (InitUint8Buff(&pskBuff, MK_LEN) != HC_SUCCESS) { in GeneratePseudonymPsk() 277 res = KeyDerivation(osAccountId, &mkAliasBuff, salt, true, &pskBuff); in GeneratePseudonymPsk() 280 FreeUint8Buff(&pskBuff); in GeneratePseudonymPsk() 284 res = GetLoaderInstance()->importSymmetricKey(&keyParams, &pskBuff, KEY_PURPOSE_MAC, NULL); in GeneratePseudonymPsk() 285 ClearFreeUint8Buff(&pskBuff); in GeneratePseudonymPsk()
|
/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_p2p.c | 309 Uint8Buff pskBuff = { pskVal, PAKE_PSK_LEN }; in GetSharedSecretByUrl() local 312 ret = GetLoaderInstance()->computeHkdf(&keyAliasParams, &nonceBuff, &keyInfo, &pskBuff); in GetSharedSecretByUrl() 317 ret = ConvertPsk(&pskBuff, sharedSecret); in GetSharedSecretByUrl()
|
H A D | identity_group.c | 788 Uint8Buff pskBuff = { pskVal, PAKE_PSK_LEN }; in GetSharedSecretForP2pInPake() local 805 ret = GetLoaderInstance()->computeHkdf(&keyAliasParams, &nonceBuff, &keyInfo, &pskBuff); in GetSharedSecretForP2pInPake() 813 ret = ConvertPsk(&pskBuff, sharedSecret); in GetSharedSecretForP2pInPake()
|
Completed in 3 milliseconds