Searched refs:selfUdid (Results 1 - 7 of 7) sorted by relevance
/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | p2p_bind_ipc_test.cpp | 166 static int32_t GetSelfUdid(char **selfUdid) in GetSelfUdid() argument 177 *selfUdid = strdup(udid); in GetSelfUdid() 183 char *selfUdid = nullptr; in CreateServerKeyPair() local 184 int32_t res = GetSelfUdid(&selfUdid); in CreateServerKeyPair() 191 free(selfUdid); in CreateServerKeyPair() 194 CreateCredentialParamsJson(TEST_OS_ACCOUNT_ID, selfUdid, RETURN_FLAG_PUBLIC_KEY, in CreateServerKeyPair() 198 free(selfUdid); in CreateServerKeyPair() 231 char *selfUdid = nullptr; in DeleteServerKeyPair() local 232 int32_t res = GetSelfUdid(&selfUdid); in DeleteServerKeyPair() 239 free(selfUdid); in DeleteServerKeyPair() [all...] |
/base/security/device_auth/services/mk_agree/src/ |
H A D | key_manager.c | 93 char selfUdid[INPUT_UDID_LEN] = { 0 }; in GenerateDevKeyAlias() local 94 int32_t res = HcGetUdid((uint8_t *)selfUdid, INPUT_UDID_LEN); in GenerateDevKeyAlias() 101 Uint8Buff msgBuff = { (uint8_t *)selfUdid, HcStrlen(selfUdid) }; in GenerateDevKeyAlias() 175 char selfUdid[INPUT_UDID_LEN] = { 0 }; in GenerateDeviceKeyPair() local 176 res = HcGetUdid((uint8_t *)selfUdid, INPUT_UDID_LEN); in GenerateDeviceKeyPair() 181 Uint8Buff authIdBuff = { (uint8_t *)selfUdid, HcStrlen(selfUdid) }; in GenerateDeviceKeyPair()
|
/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_common.c | 101 char selfUdid[INPUT_UDID_LEN] = { 0 }; in GetSelfDeviceEntry() local 102 int32_t ret = HcGetUdid((uint8_t *)selfUdid, INPUT_UDID_LEN); in GetSelfDeviceEntry() 107 return GaGetTrustedDeviceEntryById(osAccountId, selfUdid, true, groupId, deviceEntry); in GetSelfDeviceEntry()
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
H A D | dev_session_v2.c | 1163 static int32_t AddDevInfoToContext(SessionImpl *impl, int32_t osAccountId, const char *groupId, const char *selfUdid) in AddDevInfoToContext() argument 1165 TrustedDeviceEntry *deviceEntry = GetDeviceEntryById(osAccountId, selfUdid, true, groupId); in AddDevInfoToContext() 1179 static int32_t AddAuthInfoToContextByDb(SessionImpl *impl, const char *selfUdid, CJson *urlJson) in AddAuthInfoToContextByDb() argument 1195 return AddDevInfoToContext(impl, osAccountId, groupId, selfUdid); in AddAuthInfoToContextByDb() 1291 char selfUdid[INPUT_UDID_LEN] = { 0 }; in AddAuthInfoToContextByCred() local 1292 int32_t res = HcGetUdid((uint8_t *)selfUdid, INPUT_UDID_LEN); in AddAuthInfoToContextByCred() 1297 PRINT_SENSITIVE_DATA("SelfUdid", selfUdid); in AddAuthInfoToContextByCred() 1301 if (AddStringToJson(impl->context, FIELD_AUTH_ID, selfUdid) != HC_SUCCESS) { in AddAuthInfoToContextByCred() 1307 if (AddStringToJson(impl->context, FIELD_AUTH_ID, selfUdid) != HC_SUCCESS) { in AddAuthInfoToContextByCred() 1328 res = AddAuthInfoToContextByDb(impl, selfUdid, urlJso in AddAuthInfoToContextByCred() [all...] |
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_related_group_auth/ |
H A D | account_related_group_auth.c | 562 const char *selfUdid = StringGet(&(localDevInfo->udid)); in AddSelfDevInfoForServer() local 563 if ((res != HC_SUCCESS) || (selfDevId == NULL) || (selfUdid == NULL)) { in AddSelfDevInfoForServer() 573 if (AddStringToJson(dataFromClient, FIELD_SELF_DEVICE_ID, selfUdid) != HC_SUCCESS) { in AddSelfDevInfoForServer()
|
/base/security/device_auth/services/legacy/group_manager/src/group_operation/ |
H A D | group_operation.c | 359 char selfUdid[INPUT_UDID_LEN] = { 0 }; in GeneratePkInfoList() local 361 res = HcGetUdid((uint8_t *)selfUdid, INPUT_UDID_LEN); in GeneratePkInfoList() 367 queryUdid = selfUdid; in GeneratePkInfoList()
|
/base/security/device_auth/services/data_manager/src/ |
H A D | data_manager.c | 1091 char selfUdid[INPUT_UDID_LEN] = { 0 }; in IsSelfDeviceEntry() local 1092 int32_t res = HcGetUdid((uint8_t *)selfUdid, INPUT_UDID_LEN); in IsSelfDeviceEntry() 1102 return strcmp(selfUdid, entryUdid) == 0; in IsSelfDeviceEntry()
|
Completed in 12 milliseconds