Searched refs:proof (Results 1 – 8 of 8) sorted by relevance
/base/security/device_auth/services/creds_manager/src/ |
D | creds_operation_utils.c | 213 int32_t ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in GetIdentityInfoByType() 257 FreeBuffData(&info->proof.preSharedUrl); in DestroyIdentityInfo() 258 FreeBuffData(&info->proof.certInfo.pkInfoStr); in DestroyIdentityInfo() 259 FreeBuffData(&info->proof.certInfo.pkInfoSignature); in DestroyIdentityInfo()
|
D | creds_manager.c | 148 info->proof.certInfo.isPseudonym = false; in AddNoPseudonymIdentityInfo() 185 info->proof.certInfo.isPseudonym = true; in GetIdentityInfos() 839 (*returnInfo)->proof.certInfo.isPseudonym = true; in GetCredInfoByPeerCert() 841 (*returnInfo)->proof.certInfo.isPseudonym = false; in GetCredInfoByPeerCert()
|
/base/security/device_auth/services/creds_manager/inc/ |
D | creds_manager_defines.h | 93 IdentityProof proof; member
|
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/ |
D | pake_server.c | 334 struct hmac proof = { 0, {0} }; in generate_proof() local 344 return proof; in generate_proof() 353 int32_t ret = compute_hmac((struct var_buffer *)&pake_server->hmac_key, &challenge, &proof); in generate_proof() 358 proof.length = 0; in generate_proof() 361 return proof; in generate_proof()
|
D | pake_client.c | 338 struct hmac proof = { 0, {0} }; in generate_proof() local 348 return proof; in generate_proof() 357 int32_t ret = compute_hmac((struct var_buffer *)&pake_client->hmac_key, &challenge, &proof); in generate_proof() 361 proof.length = 0; in generate_proof() 364 return proof; in generate_proof()
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_v2.c | 458 …if (AddStringToJson(credInfo, FIELD_CRED_URL, (const char *)cred->proof.preSharedUrl.val) != HC_SU… in AddPreSharedCredInfo() 467 if (AddIntToJson(credInfo, FIELD_SIGN_ALG, cred->proof.certInfo.signAlg) != HC_SUCCESS) { in AddCertCredInfo() 472 if (cred->proof.certInfo.isPseudonym) { in AddCertCredInfo() 473 …res = AddPkInfoWithPdid(impl->context, credInfo, (const char *)cred->proof.certInfo.pkInfoStr.val); in AddCertCredInfo() 476 (const char *)cred->proof.certInfo.pkInfoStr.val) != HC_SUCCESS) { in AddCertCredInfo() 480 if (AddByteToJson(credInfo, FIELD_PK_INFO_SIGNATURE, cred->proof.certInfo.pkInfoSignature.val, in AddCertCredInfo() 481 cred->proof.certInfo.pkInfoSignature.length) != HC_SUCCESS) { in AddCertCredInfo() 1137 CJson *urlJson = CreateJsonFromString((const char *)cred->proof.preSharedUrl.val); in AddAuthInfoToContextByCred() 1250 return GetSharedSecretByUrl(impl->context, &selfCred->proof.preSharedUrl, in GetSharedSecret()
|
D | dev_session_util.c | 280 CJson *urlJson = CreateJsonFromString((const char *)info->proof.preSharedUrl.val); in IsP2pAuth() 301 CJson *urlJson = CreateJsonFromString((const char *)info->proof.preSharedUrl.val); in SetPeerAuthIdToContextIfNeeded()
|
/base/security/device_auth/services/creds_manager/src/account_related/ |
D | account_related_creds_manager.c | 244 int32_t ret = GetCertInfo(osAccountId, userId, authId, &info->proof.certInfo); in GetAccountAsymIdentityInfo()
|