/test/xts/device_attest/services/core/attest/ |
D | attest_service.c | 373 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/ |
D | attest_service.c | 411 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/ |
D | attest_entry.c | 127 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/ |
D | attest_entry.c | 36 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()
|
D | attest_entry.h | 29 int32_t QueryAttest(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
|
/test/xts/device_attest_lite/test/startup/ |
D | attest_framework_client_start.c | 50 attestResultInfo.ticketLength, attestResultInfo.ticket); in main() 51 if (attestResultInfo.ticketLength != 0) { in main()
|
/test/xts/device_attest/services/devattest_ability/src/ |
D | devattest_service.cpp | 170 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/ |
D | devattestservice_performance_test.cpp | 156 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/ |
D | attest_result_info.h | 32 int32_t ticketLength; member
|
/test/xts/device_attest_lite/services/core/include/attest/ |
D | attest_service.h | 31 … QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
|
/test/xts/device_attest/services/core/include/attest/ |
D | attest_service.h | 31 … QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
|
/test/xts/acts/xts_lite/device_attest_lite/device_attestQuerry_posix/src/ |
D | device_attest_querry.cpp | 84 if (attestResultInfo.ticketLength <= 0) { in AttestStatusValid() 86 + to_string(attestResultInfo.ticketLength); in AttestStatusValid()
|
/test/xts/device_attest_lite/framework/small/src/service/ |
D | attest_framework_feature.c | 114 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/ |
D | device_attest.c | 91 if (attestResultInfo.ticketLength <= 0) { in AttestStatusValid()
|
/test/xts/device_attest_lite/framework/small/src/client/ |
D | attest_framework_client_proxy.c | 103 if (!ReadInt32(reply, (int32_t *)&attestResult->ticketLength)) { in ReadAttestResultInfo()
|