/base/security/device_auth/services/mk_agree/src/mock/ |
D | key_manager_mock.c | 24 int32_t GenerateMk(const char *peerDeviceId, const Uint8Buff *peerPubKey) in GenerateMk() argument 26 (void)peerDeviceId; in GenerateMk() 31 int32_t DeleteMk(const char *peerDeviceId) in DeleteMk() argument 33 (void)peerDeviceId; in DeleteMk() 37 int32_t GeneratePseudonymPsk(const char *peerDeviceId, const Uint8Buff *salt) in GeneratePseudonymPsk() argument 39 (void)peerDeviceId; in GeneratePseudonymPsk() 44 int32_t DeletePseudonymPsk(const char *peerDeviceId) in DeletePseudonymPsk() argument 46 (void)peerDeviceId; in DeletePseudonymPsk() 50 int32_t GenerateAndSavePseudonymId(int32_t osAccountId, const char *peerDeviceId, const PseudonymKe… in GenerateAndSavePseudonymId() argument 54 (void)peerDeviceId; in GenerateAndSavePseudonymId()
|
/base/security/device_auth/services/mk_agree/inc/ |
D | key_manager.h | 31 int32_t GenerateMk(const char *peerDeviceId, const Uint8Buff *peerPubKey); 32 int32_t DeleteMk(const char *peerDeviceId); 33 int32_t GeneratePseudonymPsk(const char *peerDeviceId, const Uint8Buff *salt); 34 int32_t DeletePseudonymPsk(const char *peerDeviceId); 35 int32_t GenerateAndSavePseudonymId(int32_t osAccountId, const char *peerDeviceId, const PseudonymKe…
|
/base/security/device_auth/services/mk_agree/src/ |
D | key_manager.c | 118 static int32_t GenerateMkAlias(const char *peerDeviceId, Uint8Buff *keyAlias) in GenerateMkAlias() argument 120 Uint8Buff peerDevIdBuff = { (uint8_t *)peerDeviceId, HcStrlen(peerDeviceId) }; in GenerateMkAlias() 135 static int32_t GeneratePseudonymPskAlias(const char *peerDeviceId, Uint8Buff *keyAlias) in GeneratePseudonymPskAlias() argument 139 Uint8Buff peerDevIdBuff = { (uint8_t *)peerDeviceId, HcStrlen(peerDeviceId) }; in GeneratePseudonymPskAlias() 196 int32_t GenerateMk(const char *peerDeviceId, const Uint8Buff *peerPubKey) in GenerateMk() argument 198 if (peerDeviceId == NULL || peerPubKey == NULL) { in GenerateMk() 204 int32_t res = GenerateMkAlias(peerDeviceId, &mkAliasBuff); in GenerateMk() 228 int32_t DeleteMk(const char *peerDeviceId) in DeleteMk() argument 230 if (peerDeviceId == NULL) { in DeleteMk() 236 int32_t res = GenerateMkAlias(peerDeviceId, &mkAliasBuff); in DeleteMk() [all …]
|
/base/security/device_auth/test/fuzztest/group_manage/getrelatedgroups_fuzzer/ |
D | getrelatedgroups_fuzzer.cpp | 33 std::string peerDeviceId(reinterpret_cast<const char *>(data), size); in FuzzDoGetRelatedGroups() 36 …gmInstance->getRelatedGroups(*osAccountId, appId.c_str(), peerDeviceId.c_str(), &outGroups, &group… in FuzzDoGetRelatedGroups()
|
/base/security/device_auth/services/creds_manager/src/ |
D | creds_operation_utils.c | 170 const char *peerDeviceId = GetPeerDevIdFromJson(in, &isUdid); in GetPeerDeviceEntry() local 171 if (peerDeviceId == NULL) { in GetPeerDeviceEntry() 175 … return GaGetTrustedDeviceEntryById(osAccountId, peerDeviceId, isUdid, groupId, returnDeviceEntry); in GetPeerDeviceEntry()
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_util.c | 34 const char *peerDeviceId = GetStringFromJson(context, FIELD_PEER_UDID); in GetPeerDeviceEntryByContext() local 35 if (peerDeviceId != NULL) { in GetPeerDeviceEntryByContext() 39 peerDeviceId = GetStringFromJson(context, FIELD_PEER_AUTH_ID); in GetPeerDeviceEntryByContext() 40 if (peerDeviceId == NULL) { in GetPeerDeviceEntryByContext() 45 return GetDeviceEntryById(osAccountId, peerDeviceId, isUdid, groupId); in GetPeerDeviceEntryByContext()
|
/base/security/access_token/services/tokensyncmanager/test/mock/src/ |
D | soft_bus_session_mock.cpp | 76 int OpenSession(const char *mySessionName, const char *peerSessionName, const char *peerDeviceId, c… in OpenSession() argument 81 ACCESSTOKEN_LOG_DEBUG(LABEL, "peerDeviceId: %{public}s", peerDeviceId); in OpenSession()
|
/base/security/device_auth/services/group_manager/src/ |
D | group_manager.c | 111 int32_t GetRelatedGroupsImpl(int32_t osAccountId, const char *appId, const char *peerDeviceId, in GetRelatedGroupsImpl() argument 115 …oupSupport() ? GetGroupImplInstance()->getAccessibleRelatedGroups(osAccountId, appId, peerDeviceId, in GetRelatedGroupsImpl()
|
/base/security/device_auth/services/group_manager/inc/ |
D | group_manager.h | 45 int32_t GetRelatedGroupsImpl(int32_t osAccountId, const char *appId, const char *peerDeviceId,
|
D | group_operation.h | 47 …ssibleRelatedGroups)(int32_t osAccountId, const char *appId, const char *peerDeviceId, bool isUdid,
|
D | group_operation_common.h | 98 int32_t GetRelatedGroups(int32_t osAccountId, const char *peerDeviceId, bool isUdid,
|
/base/security/access_token/services/tokensyncmanager/test/mock/include/ |
D | session.h | 258 int OpenSession(const char *mySessionName, const char *peerSessionName, const char *peerDeviceId, c…
|
/base/security/device_auth/interfaces/inner_api/ |
D | device_auth.h | 261 int32_t (*getRelatedGroups)(int32_t osAccountId, const char *appId, const char *peerDeviceId,
|
/base/security/device_auth/services/group_manager/src/group_operation/ |
D | group_operation.c | 824 …essibleRelatedGroups(int32_t osAccountId, const char *appId, const char *peerDeviceId, bool isUdid, in GetAccessibleRelatedGroups() argument 828 … if ((appId == NULL) || (peerDeviceId == NULL) || (returnGroupVec == NULL) || (groupNum == NULL) || in GetAccessibleRelatedGroups() 835 int32_t result = GetRelatedGroups(osAccountId, peerDeviceId, isUdid, &groupEntryVec); in GetAccessibleRelatedGroups()
|
D | group_operation_common.c | 253 int32_t GetRelatedGroups(int32_t osAccountId, const char *peerDeviceId, bool isUdid, GroupEntryVec … in GetRelatedGroups() argument 261 params.udid = peerDeviceId; in GetRelatedGroups() 263 params.authId = peerDeviceId; in GetRelatedGroups()
|