Home
last modified time | relevance | path

Searched refs:AttestStrdup (Results 1 - 19 of 19) sorted by relevance

/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/
H A Dattest_tdd_mock_property.c23 return AttestStrdup(ATTEST_MOCK_PROPERTY_VERSIONID); in AttestGetVersionId()
28 return AttestStrdup(ATTEST_MOCK_PROPERTY_HASH); in AttestGetBuildRootHash()
33 return AttestStrdup(ATTEST_MOCK_PROPERTY_SOFTWARE_VERSION); in AttestGetDisplayVersion()
38 return AttestStrdup(ATTEST_MOCK_PROPERTY_MANU); in AttestGetManufacture()
43 return AttestStrdup(ATTEST_MOCK_PROPERTY_MODEL); in AttestGetProductModel()
48 return AttestStrdup(ATTEST_MOCK_PROPERTY_BRAND); in AttestGetBrand()
53 return AttestStrdup(ATTEST_MOCK_PROPERTY_PATCH); in AttestGetSecurityPatchTag()
58 return AttestStrdup(ATTEST_MOCK_PROPERTY_UDID); in AttestGetUdid()
63 return AttestStrdup(ATTEST_MOCK_PROPERTY_SERIAL); in AttestGetSerial()
/test/xts/device_attest_lite/test/tdd/gtest/src/
H A Dattest_tdd_mock_property.c24 return AttestStrdup(ATTEST_MOCK_PROPERTY_VERSIONID); in AttestGetVersionId()
29 return AttestStrdup(ATTEST_MOCK_PROPERTY_HASH); in AttestGetBuildRootHash()
34 return AttestStrdup(ATTEST_MOCK_PROPERTY_SOFTWARE_VERSION); in AttestGetDisplayVersion()
39 return AttestStrdup(ATTEST_MOCK_PROPERTY_MANU); in AttestGetManufacture()
44 return AttestStrdup(ATTEST_MOCK_PROPERTY_MODEL); in AttestGetProductModel()
49 return AttestStrdup(ATTEST_MOCK_PROPERTY_BRAND); in AttestGetBrand()
54 return AttestStrdup(ATTEST_MOCK_PROPERTY_PATCH); in AttestGetSecurityPatchTag()
59 return AttestStrdup(ATTEST_MOCK_PROPERTY_UDID); in AttestGetUdid()
64 return AttestStrdup(ATTEST_MOCK_PROPERTY_SERIAL); in AttestGetSerial()
/test/xts/device_attest/services/core/adapter/
H A Dattest_adapter_os.c24 return AttestStrdup(GetVersionId()); in OsGetVersionId()
29 return AttestStrdup(GetBuildRootHash()); in OsGetBuildRootHash()
34 return AttestStrdup(GetDisplayVersion()); in OsGetDisplayVersion()
44 char* res = AttestStrdup(manufacture); in OsGetManufacture()
56 char* res = AttestStrdup(productModel); in OsGetProductModel()
63 return AttestStrdup(GetBrand()); in OsGetBrand()
68 return AttestStrdup(GetSecurityPatchTag()); in OsGetSecurityPatchTag()
73 return AttestStrdup(GetSerial()); in OsGetSerial()
99 char* outputStr = AttestStrdup(udid); in OsGetUdid()
/test/xts/device_attest_lite/services/core/adapter/
H A Dattest_adapter_os.c24 return AttestStrdup(GetVersionId()); in OsGetVersionId()
29 return AttestStrdup(GetBuildRootHash()); in OsGetBuildRootHash()
34 return AttestStrdup(GetDisplayVersion()); in OsGetDisplayVersion()
39 return AttestStrdup(GetManufacture()); in OsGetManufacture()
44 return AttestStrdup(GetProductModel()); in OsGetProductModel()
49 return AttestStrdup(GetBrand()); in OsGetBrand()
54 return AttestStrdup(GetSecurityPatchTag()); in OsGetSecurityPatchTag()
59 return AttestStrdup(GetSerial()); in OsGetSerial()
85 char* outputStr = AttestStrdup(udid); in OsGetUdid()
/test/xts/device_attest/services/core/attest/
H A Dattest_service_active.c66 devicePacket->ticket = AttestStrdup(authResult->ticket); in GenActiveMsg()
67 devicePacket->tokenInfo.uuid = AttestStrdup((char*)tokenId); in GenActiveMsg()
68 devicePacket->tokenInfo.token = AttestStrdup((char*)tokenValueHmac); in GenActiveMsg()
H A Dattest_service_reset.c54 devicePacket->tokenInfo.uuid = AttestStrdup((char*)tokenId); in GenResetMsg()
55 devicePacket->tokenInfo.token = AttestStrdup((char*)tokenValueHmac); in GenResetMsg()
H A Dattest_service_device.c197 return AttestStrdup(g_devSysInfos[devType]); in StrdupDevInfo()
202 return AttestStrdup("105625431"); in GetAppId()
207 return AttestStrdup("OpenHarmony"); in GetTenantId()
H A Dattest_service_auth.c858 devicePacket->tokenInfo.uuid = AttestStrdup((char*)tokenId); in GenAuthMsg()
859 devicePacket->tokenInfo.token = AttestStrdup((char*)tokenValueHmac); in GenAuthMsg()
/test/xts/device_attest_lite/services/core/attest/
H A Dattest_service_active.c66 devicePacket->ticket = AttestStrdup(authResult->ticket); in GenActiveMsg()
67 devicePacket->tokenInfo.uuid = AttestStrdup((char*)tokenId); in GenActiveMsg()
68 devicePacket->tokenInfo.token = AttestStrdup((char*)tokenValueHmac); in GenActiveMsg()
H A Dattest_service_device.c193 return AttestStrdup(g_devSysInfos[devType]); in StrdupDevInfo()
198 return AttestStrdup("105625431"); in GetAppId()
203 return AttestStrdup("OpenHarmony"); in GetTenantId()
H A Dattest_service_reset.c54 devicePacket->tokenInfo.uuid = AttestStrdup((char*)tokenId); in GenResetMsg()
55 devicePacket->tokenInfo.token = AttestStrdup((char*)tokenValueHmac); in GenResetMsg()
H A Dattest_service_auth.c878 devicePacket->tokenInfo.uuid = AttestStrdup((char*)tokenId); in GenAuthMsg()
879 devicePacket->tokenInfo.token = AttestStrdup((char*)tokenValueHmac); in GenAuthMsg()
/test/xts/device_attest_lite/services/core/mini/attest/
H A Dattest_service_pcid.c24 return AttestStrdup(ATTEST_DEFAULT_PCID); in GetPcid()
/test/xts/device_attest/services/core/utils/
H A Dattest_utils_log.c52 char *strDup = AttestStrdup(str); in AttestLogAnonyStr()
H A Dattest_utils.c71 char* AttestStrdup(const char* input) in AttestStrdup() function
/test/xts/device_attest_lite/services/core/include/utils/
H A Dattest_utils.h48 char* AttestStrdup(const char* input);
/test/xts/device_attest/services/core/include/utils/
H A Dattest_utils.h51 char* AttestStrdup(const char* input);
/test/xts/device_attest_lite/services/core/utils/
H A Dattest_utils_log.c102 char *strDup = AttestStrdup(str); in AttestLogAnonyStr()
H A Dattest_utils.c74 char* AttestStrdup(const char* input) in AttestStrdup() function

Completed in 13 milliseconds