Searched refs:selfAuthId (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_p2p.c | 196 static int32_t ComputeAndSaveDirectAuthPsk(int32_t osAccountId, const char *selfAuthId, const char … in ComputeAndSaveDirectAuthPsk() argument 199 Uint8Buff selfAuthIdBuff = { (uint8_t *)selfAuthId, HcStrlen(selfAuthId) }; in ComputeAndSaveDirectAuthPsk() 250 const char *selfAuthId = GetStringFromJson(in, FIELD_AUTH_ID); in GetDirectAuthPskAliasCreateIfNeeded() local 251 if (selfAuthId == NULL) { in GetDirectAuthPskAliasCreateIfNeeded() 277 …ret = ComputeAndSaveDirectAuthPsk(osAccountId, selfAuthId, peerAuthId, peerServieType, pskKeyAlias… in GetDirectAuthPskAliasCreateIfNeeded()
|
H A D | cert_operation.c | 250 …tic int32_t VerifyPeerCertInfo(int32_t osAccountId, const char *selfUserId, const char *selfAuthId, in VerifyPeerCertInfo() argument 259 …int32_t ret = GetAccountAuthTokenManager()->generateKeyAlias(selfUserId, selfAuthId, &keyAlias, tr… in VerifyPeerCertInfo() 718 const char *selfAuthId = StringGet(&deviceEntry->authId); in GetAccountAsymSharedSecret() local 719 ret = VerifyPeerCertInfo(osAccountId, selfUserId, selfAuthId, peerCertInfo); in GetAccountAsymSharedSecret() 725 …ret = GetSharedSecretForAccountInPake(osAccountId, selfUserId, selfAuthId, peerCertInfo, sharedSec… in GetAccountAsymSharedSecret() 797 const char *selfAuthId = StringGet(&deviceEntry->authId); in GetAccountAsymCredInfo() local 799 ret = GetAccountAsymIdentityInfo(osAccountId, selfUserId, selfAuthId, info, isNeedGeneratePdid); in GetAccountAsymCredInfo()
|
H A D | credential_operator.c | 513 char selfAuthId[INPUT_UDID_LEN] = { 0 }; in ComputeAndSavePsk() local 514 int32_t res = HcGetUdid((uint8_t *)selfAuthId, INPUT_UDID_LEN); in ComputeAndSavePsk() 520 …res = GenerateKeyAliasInner(DEFAULT_PACKAGE_NAME, DEFAULT_SERVICE_TYPE, selfAuthId, keyType, &self… in ComputeAndSavePsk() 570 char selfAuthId[INPUT_UDID_LEN] = { 0 }; in IsSelfKeyPairExist() local 571 int32_t res = HcGetUdid((uint8_t *)selfAuthId, INPUT_UDID_LEN); in IsSelfKeyPairExist() 577 …res = GenerateKeyAliasInner(DEFAULT_PACKAGE_NAME, DEFAULT_SERVICE_TYPE, selfAuthId, keyType, &self… in IsSelfKeyPairExist()
|
H A D | identity_group.c | 566 const char *selfAuthId = StringGet(&deviceEntry->authId); in GetSelfAuthIdAndUserType() local 567 uint32_t authIdLen = HcStrlen(selfAuthId); in GetSelfAuthIdAndUserType() 574 if (memcpy_s(authIdBuff->val, authIdLen + 1, selfAuthId, authIdLen) != EOK) { in GetSelfAuthIdAndUserType()
|