Searched refs:uidData (Results 1 – 3 of 3) sorted by relevance
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/ |
D | hks_event_observer.cpp | 51 uint8_t *uidData = static_cast<uint8_t *>(HksMalloc(uidSize)); in GetProcessInfo() local 52 if (uidData == nullptr) { in GetProcessInfo() 58 (void)memcpy_s(uidData, uidSize, &uid, uidSize); in GetProcessInfo() 60 processInfo->processName.data = uidData; in GetProcessInfo()
|
/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_storage.c | 1381 char *uidData = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in HksServiceDeleteUIDKeyAliasFile() local 1382 if (uidData == NULL) { in HksServiceDeleteUIDKeyAliasFile() 1387 (void)memset_s(uidData, HKS_MAX_FILE_NAME_LEN, 0, HKS_MAX_FILE_NAME_LEN); in HksServiceDeleteUIDKeyAliasFile() 1389 ret = ConstructName(&processInfo.processName, uidData, HKS_MAX_FILE_NAME_LEN); in HksServiceDeleteUIDKeyAliasFile() 1392 HKS_FREE_PTR(uidData); in HksServiceDeleteUIDKeyAliasFile() 1398 ret = ConstructUidPath(userData, uidData, userProcess, HKS_MAX_DIRENT_FILE_LEN); in HksServiceDeleteUIDKeyAliasFile() 1401 HKS_FREE_PTR(uidData); in HksServiceDeleteUIDKeyAliasFile() 1410 HKS_FREE_PTR(uidData); in HksServiceDeleteUIDKeyAliasFile()
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_common.cpp | 77 char *uidData = nullptr; in ParseCmContext() local 85 CM_CONTEXT_PROPERTY_UID.c_str(), CM_MAX_DATA_LEN, uidData); in ParseCmContext() 102 cmContext->uid = static_cast<uint32_t>(atoi(uidData)); in ParseCmContext() 110 CM_FREE_PTR(uidData); in ParseCmContext()
|