Home
last modified time | relevance | path

Searched refs:selfAuthId (Results 1 - 4 of 4) sorted by relevance

/base/security/device_auth/services/identity_manager/src/
H A Didentity_p2p.c191 * @param selfAuthId self device udid
196 static int32_t ComputeAndSaveDirectAuthPsk(int32_t osAccountId, const char *selfAuthId, const char *peerAuthId, 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 Dcert_operation.c254 static int32_t VerifyPeerCertInfo(int32_t osAccountId, const char *selfUserId, const char *selfAuthId, in VerifyPeerCertInfo() argument
263 int32_t ret = GetAccountAuthTokenManager()->generateKeyAlias(selfUserId, selfAuthId, &keyAlias, true); in VerifyPeerCertInfo()
722 const char *selfAuthId = StringGet(&deviceEntry->authId); in GetAccountAsymSharedSecret() local
723 ret = VerifyPeerCertInfo(osAccountId, selfUserId, selfAuthId, peerCertInfo); in GetAccountAsymSharedSecret()
729 ret = GetSharedSecretForAccountInPake(osAccountId, selfUserId, selfAuthId, peerCertInfo, sharedSecret); in GetAccountAsymSharedSecret()
801 const char *selfAuthId = StringGet(&deviceEntry->authId); in GetAccountAsymCredInfo() local
803 ret = GetAccountAsymIdentityInfo(osAccountId, selfUserId, selfAuthId, info, isNeedGeneratePdid); in GetAccountAsymCredInfo()
H A Dcredential_operator.c513 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, &selfKeyAlias); 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, &selfKeyAlias); in IsSelfKeyPairExist()
H A Didentity_group.c566 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()

Completed in 5 milliseconds