Home
last modified time | relevance | path

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

/test/xts/device_attest/services/core/attest/
H A Dattest_service.c441 static int32_t SetAttestStatusDefault(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusDefault() argument
445 *ticketLength = 0; in SetAttestStatusDefault()
449 static int32_t SetAttestStatusFailed(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusFailed() argument
453 *ticketLength = 0; in SetAttestStatusFailed()
457 static int32_t SetAttestStatusSucc(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusSucc() argument
464 *ticketLength = 0; in SetAttestStatusSucc()
493 *ticketLength = strlen(*ticket); in SetAttestStatusSucc()
505 static int32_t QueryAttestStatusSwitch(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength) in QueryAttestStatusSwitch() argument
516 ret = SetAttestStatusDefault(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
520 ret = SetAttestStatusFailed(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
534 QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength) QueryAttestStatus() argument
[all...]
/test/xts/device_attest_lite/services/core/attest/
H A Dattest_service.c414 static int32_t SetAttestStatusDefault(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusDefault() argument
418 *ticketLength = 0; in SetAttestStatusDefault()
422 static int32_t SetAttestStatusFailed(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusFailed() argument
426 *ticketLength = 0; in SetAttestStatusFailed()
430 static int32_t SetAttestStatusSucc(int32_t** resultArray, char** ticket, int32_t* ticketLength) in SetAttestStatusSucc() argument
437 *ticketLength = 0; in SetAttestStatusSucc()
466 *ticketLength = strlen(*ticket); in SetAttestStatusSucc()
478 static int32_t QueryAttestStatusSwitch(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength) in QueryAttestStatusSwitch() argument
488 ret = SetAttestStatusDefault(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
492 ret = SetAttestStatusFailed(resultArray, ticket, ticketLength); in QueryAttestStatusSwitch()
506 QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength) QueryAttestStatus() argument
[all...]
/test/xts/device_attest_lite/services/core/
H A Dattest_entry.c71 int32_t ticketLength = 0; in EntryGetAttestStatus() local
75 ret = QueryAttestStatus(&resultArray, MAX_ATTEST_RESULT_SIZE, &ticketStr, &ticketLength); in EntryGetAttestStatus()
85 attestResultInfo->ticketLength = ticketLength; in EntryGetAttestStatus()
/test/xts/device_attest/services/devattest_ability/src/
H A Ddevattest_service.cpp169 int32_t ticketLength = 0; in GetAttestStatus() local
173 ret = QueryAttest(&resultArray, MAX_ATTEST_RESULT_SIZE, &ticketStr, &ticketLength); in GetAttestStatus()
179 attestResultInfo.ticketLength_ = ticketLength; in GetAttestStatus()
187 if (ticketStr != NULL && ticketLength != 0) { in GetAttestStatus()
/test/xts/device_attest/test/performancetest/src/
H A Ddevattestservice_performance_test.cpp156 int ticketLength = 0; in HWTEST_F() local
162 ret = QueryAttest(&resultArray, MAX_ATTEST_RESULT_SIZE, &ticketStr, &ticketLength); in HWTEST_F()
163 if (ticketStr != nullptr && ticketLength != 0) { in HWTEST_F()
/test/xts/device_attest/services/core/
H A 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()
H A Dattest_entry.h29 int32_t QueryAttest(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
/test/xts/device_attest_lite/test/startup/
H A Dattest_framework_client_start.c49 printf("[CLIENT MAIN] ticketLength:%d, ticket:%s\n", in main()
50 attestResultInfo.ticketLength, attestResultInfo.ticket); in main()
51 if (attestResultInfo.ticketLength != 0) { in main()
/test/xts/acts/xts_lite/device_attest_lite/device_attestQuerry_posix/src/
H A Ddevice_attest_querry.cpp76 if (attestResultInfo.ticketLength <= 0) { in AttestStatusValid()
77 failString += string(" ticketLength is ") in AttestStatusValid()
78 + to_string(attestResultInfo.ticketLength); in AttestStatusValid()
/test/xts/device_attest_lite/framework/small/src/service/
H A Dattest_framework_feature.c114 if (!WriteInt32(reply, attestResultInfo->ticketLength) || in WriteAttestResultInfo()
142 if (attestResultInfo.ticketLength != 0) { in FeatureQueryAttest()
/test/xts/device_attest_lite/services/core/include/attest/
H A Dattest_service.h31 int32_t QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
/test/xts/device_attest_lite/interfaces/innerkits/
H A Dattest_result_info.h41 int32_t ticketLength; member
/test/xts/device_attest/services/core/include/attest/
H A Dattest_service.h31 int32_t QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
/test/xts/acts/xts_lite/device_attest_lite/device_attestStart_hal/src/
H A Ddevice_attest.c83 if (attestResultInfo.ticketLength <= 0) { in AttestStatusValid()
/test/xts/device_attest_lite/framework/small/src/client/
H A Dattest_framework_client_proxy.c103 if (!ReadInt32(reply, (int32_t *)&attestResult->ticketLength)) { in ReadAttestResultInfo()
104 HILOGE("[ReadAttestResultInfo] Failed to read ticketLength."); in ReadAttestResultInfo()

Completed in 6 milliseconds