Home
last modified time | relevance | path

Searched refs:computeHmac (Results 1 – 12 of 12) sorted by relevance

/base/security/device_auth/services/protocol/src/iso_protocol/
Diso_protocol_common.c124 res = params->loader->computeHmac(&pskBuf, &messageBuf, outHmac, false); in IsoCalSelfToken()
170 res = params->loader->computeHmac(&pskBuf, &messageBufSelf, selfToken, false); in IsoCalPeerToken()
295 int res = params->loader->computeHmac(&pskBuf, &hmacMessage, &outHmacBuf, false); in IsoClientGenSessionKey()
377 res = params->loader->computeHmac(&pskBuf, &messageBuf, tokenToPeer, false); in IsoServerGenSessionKeyAndCalToken()
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
Dalg_defs.h136 ComputeHmacFunc computeHmac; member
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/
Dpake_v1_protocol_common.c306 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/authenticators/src/account_unrelated/iso_task/
Diso_task_common.c514 return params->baseParams.loader->computeHmac(&keyAliasBuf, seed, &pskBuf, true); in AuthGeneratePsk()
528 return params->baseParams.loader->computeHmac(&hashBuf, seed, &pskBuf, false); in AuthGeneratePskUsePin()
/base/security/device_auth/services/mk_agree/src/
Dkey_manager.c337 res = GetLoaderInstance()->computeHmac(&pskAliasBuff, saltBuff, &pseudonymIdBuff, true); in GenerateAndSavePseudonymId()
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c207 res = params->isoBaseParams.loader->computeHmac(&authToken, &seedBuf, &pskBuf, isTokenStored); in AccountAuthGeneratePsk()
/base/security/device_auth/services/creds_manager/src/
Dcreds_manager.c349 return GetLoaderInstance()->computeHmac(&keyAliasBuf, seed, sharedSecret, true); in AuthGeneratePsk()
362 return GetLoaderInstance()->computeHmac(&hashBuf, seed, sharedSecret, false); in AuthGeneratePskUsePin()
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Diso_protocol.c173 res = GetLoaderInstance()->computeHmac(&params->psk, &messageBuf, token, false); in IsoCalToken()
245 int32_t res = GetLoaderInstance()->computeHmac(&params->psk, &messageBuf, authResultMac, false); in IsoGenAuthResultMac()
/base/security/device_auth/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c589 ret = GetLoaderInstance()->computeHmac(&authToken, &seedBuff, sharedSecret, isTokenStored); in GetAccountSymSharedSecret()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c789 .computeHmac = ComputeHmac,
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c1267 .computeHmac = ComputeHmac,
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c1389 .computeHmac = ComputeHmac,