Home
last modified time | relevance | path

Searched refs:ticketLength (Results 1 – 15 of 15) sorted by relevance

/test/xts/device_attest/services/core/attest/
Dattest_service.c373 static int32_t SetAttestStatusDefault(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusDefault() argument
377 *ticketLength = 0; in SetAttestStatusDefault()
381 static int32_t SetAttestStatusFailed(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusFailed() argument
385 *ticketLength = 0; in SetAttestStatusFailed()
389 static int32_t SetAttestStatusSucc(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusSucc() argument
396 *ticketLength = 0; in SetAttestStatusSucc()
425 *ticketLength = strlen(*ticket); in SetAttestStatusSucc()
437 …yAttestStatusSwitch(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength) in QueryAttestStatusSwitch() argument
447 ret = SetAttestStatusDefault(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
451 ret = SetAttestStatusFailed(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
[all …]
/test/xts/device_attest_lite/services/core/attest/
Dattest_service.c411 static int32_t SetAttestStatusDefault(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusDefault() argument
415 *ticketLength = 0; in SetAttestStatusDefault()
419 static int32_t SetAttestStatusFailed(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusFailed() argument
423 *ticketLength = 0; in SetAttestStatusFailed()
427 static int32_t SetAttestStatusSucc(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusSucc() argument
434 *ticketLength = 0; in SetAttestStatusSucc()
463 *ticketLength = strlen(*ticket); in SetAttestStatusSucc()
475 …yAttestStatusSwitch(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength) in QueryAttestStatusSwitch() argument
485 ret = SetAttestStatusDefault(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
489 ret = SetAttestStatusFailed(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
[all …]
/test/xts/device_attest_lite/services/core/
Dattest_entry.c127 int32_t ticketLength = 0; in EntryGetAttestStatus() local
131 ret = QueryAttestStatus(&resultArray, MAX_ATTEST_RESULT_SIZE, &ticketStr, &ticketLength); in EntryGetAttestStatus()
141 attestResultInfo->ticketLength = ticketLength; in EntryGetAttestStatus()
/test/xts/device_attest/services/core/
Dattest_entry.c36 int32_t QueryAttest(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength) in QueryAttest() argument
38 return QueryAttestStatus(resultArray, arraySize, ticket, ticketLength); in QueryAttest()
Dattest_entry.h29 int32_t QueryAttest(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
/test/xts/device_attest_lite/test/startup/
Dattest_framework_client_start.c50 attestResultInfo.ticketLength, attestResultInfo.ticket); in main()
51 if (attestResultInfo.ticketLength != 0) { in main()
/test/xts/device_attest/services/devattest_ability/src/
Ddevattest_service.cpp170 int32_t ticketLength = 0; in GetAttestStatus() local
174 ret = QueryAttest(&resultArray, MAX_ATTEST_RESULT_SIZE, &ticketStr, &ticketLength); in GetAttestStatus()
180 attestResultInfo.ticketLength_ = ticketLength; in GetAttestStatus()
188 if (ticketStr != NULL && ticketLength != 0) { in GetAttestStatus()
/test/xts/device_attest/test/performancetest/src/
Ddevattestservice_performance_test.cpp156 int ticketLength = 0; variable
162 ret = QueryAttest(&resultArray, MAX_ATTEST_RESULT_SIZE, &ticketStr, &ticketLength);
163 if (ticketStr != nullptr && ticketLength != 0) {
/test/xts/device_attest_lite/interfaces/innerkits/
Dattest_result_info.h32 int32_t ticketLength; member
/test/xts/device_attest_lite/services/core/include/attest/
Dattest_service.h31 … QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
/test/xts/device_attest/services/core/include/attest/
Dattest_service.h31 … QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
/test/xts/acts/xts_lite/device_attest_lite/device_attestQuerry_posix/src/
Ddevice_attest_querry.cpp84 if (attestResultInfo.ticketLength <= 0) { in AttestStatusValid()
86 + to_string(attestResultInfo.ticketLength); in AttestStatusValid()
/test/xts/device_attest_lite/framework/small/src/service/
Dattest_framework_feature.c114 if (!WriteInt32(reply, attestResultInfo->ticketLength) || in WriteAttestResultInfo()
142 if (attestResultInfo.ticketLength != 0) { in FeatureQueryAttest()
/test/xts/acts/xts_lite/device_attest_lite/device_attestStart_hal/src/
Ddevice_attest.c91 if (attestResultInfo.ticketLength <= 0) { in AttestStatusValid()
/test/xts/device_attest_lite/framework/small/src/client/
Dattest_framework_client_proxy.c103 if (!ReadInt32(reply, (int32_t *)&attestResult->ticketLength)) { in ReadAttestResultInfo()