Home
last modified time | relevance | path

Searched refs:MAX_ATTEST_MALLOC_BUFF_SIZE (Results 1 - 17 of 17) sorted by relevance

/test/xts/device_attest/services/oem_adapter/src/
H A Ddevice_attest_oem_file.c21 #define MAX_ATTEST_MALLOC_BUFF_SIZE 1024 macro
28 if ((strlen(dirPath) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in OEMGenFilePath()
29 (strlen(fileName) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in OEMGenFilePath()
30 (strlen(dirPath) + strlen(fileName)) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in OEMGenFilePath()
216 if ((strlen(formatPath) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in OEMCreateFile()
217 (strlen(fileName) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in OEMCreateFile()
218 (strlen(formatPath) + strlen(fileName)) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in OEMCreateFile()
/test/xts/device_attest/services/core/utils/
H A Dattest_utils_file.c229 if ((strlen(formatPath) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in CreateFile()
230 (strlen(fileName) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in CreateFile()
231 (strlen(formatPath) + strlen(fileName)) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in CreateFile()
275 if (fileSize == 0 || fileSize > MAX_ATTEST_MALLOC_BUFF_SIZE) { in ReadFileBuffer()
H A Dattest_utils.c77 if (inputLen == 0 || inputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in AttestStrdup()
100 if (inputLen == 0 || inputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in URLSafeBase64ToBase64()
104 if (*outputLen == 0 || *outputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in URLSafeBase64ToBase64()
H A Dattest_utils_json.c63 if (len == 0 || len >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in GetObjectItemValueStr()
H A Dattest_utils_memleak.c137 if (inputLen == 0 || inputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in StrdupMemInfo()
/test/xts/device_attest/services/core/network/
H A Dattest_network.c835 if ((headerLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) || (bodyLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in BuildHttpsMsg()
836 (headerLen + bodyLen) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in BuildHttpsMsg()
958 if (len <= 0 || len >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in StringToInt32()
979 if (appearAddr == NULL || offsetLen == 0 || offsetLen > MAX_ATTEST_MALLOC_BUFF_SIZE) { in SkipBlank()
1056 if (retCode != ATTEST_OK || contentLen <= 0 || contentLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in ParseHttpsResp()
1278 if ((strlen(hostName) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in MergeDomain()
1279 (strlen(port) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in MergeDomain()
1280 (strlen(CONNECTOR) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in MergeDomain()
1281 (strlen(hostName) + strlen(port) + strlen(CONNECTOR)) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in MergeDomain()
[all...]
/test/xts/device_attest/services/core/attest/
H A Dattest_service_device.c252 if ((osPcidLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) || (privatePcidLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in MergePcid()
253 (osPcidLen + privatePcidLen) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in MergePcid()
H A Dattest_service_auth.c421 if (fileSize == 0 || fileSize >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in GetAuthStatus()
567 if ((requiredBufferSize == 0) || (requiredBufferSize >= MAX_ATTEST_MALLOC_BUFF_SIZE)) { in DecodeAuthStatus()
717 if ((len == 0) || (len >= MAX_ATTEST_MALLOC_BUFF_SIZE)) { in ParseAuthStats()
/test/xts/device_attest_lite/services/core/utils/
H A Dattest_utils.c80 if (inputLen == 0 || inputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in AttestStrdup()
103 if (inputLen == 0 || inputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in URLSafeBase64ToBase64()
107 if (*outputLen == 0 || *outputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in URLSafeBase64ToBase64()
H A Dattest_utils_file.c57 if (fileSize == 0 || fileSize > MAX_ATTEST_MALLOC_BUFF_SIZE) { in ReadFileBuffer()
H A Dattest_utils_json.c63 if (len == 0 || len >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in GetObjectItemValueStr()
H A Dattest_utils_memleak.c137 if (inputLen == 0 || inputLen >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in StrdupMemInfo()
/test/xts/device_attest/services/core/include/
H A Dattest_type.h75 #define MAX_ATTEST_MALLOC_BUFF_SIZE 1024 macro
/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/
H A Dattest_tdd_data_transfer.c36 if (totalFlag >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in AttestGetMallocLen()
/test/xts/device_attest_lite/services/core/include/
H A Dattest_type.h64 #define MAX_ATTEST_MALLOC_BUFF_SIZE 1024 macro
/test/xts/device_attest_lite/test/tdd/gtest/src/
H A Dattest_tdd_data_transfer.c37 if (totalFlag >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in AttestGetMallocLen()
/test/xts/device_attest_lite/services/core/attest/
H A Dattest_service_auth.c445 if (fileSize == 0 || fileSize >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in GetAuthStatus()
591 if ((requiredBufferSize == 0) || (requiredBufferSize >= MAX_ATTEST_MALLOC_BUFF_SIZE)) { in DecodeAuthStatus()
737 if ((len == 0) || (len >= MAX_ATTEST_MALLOC_BUFF_SIZE)) { in ParseAuthStats()

Completed in 12 milliseconds