/test/xts/device_attest/services/core/attest/ |
H A D | attest_service.c | 441 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 D | attest_service.c | 414 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 D | attest_entry.c | 71 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 D | devattest_service.cpp | 169 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 D | devattestservice_performance_test.cpp | 156 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 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()
|
H A 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/ |
H A D | attest_framework_client_start.c | 49 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 D | device_attest_querry.cpp | 76 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 D | attest_framework_feature.c | 114 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 D | attest_service.h | 31 int32_t QueryAttestStatus(int32_t** resultArray, int32_t arraySize, char** ticket, int32_t* ticketLength);
|
/test/xts/device_attest_lite/interfaces/innerkits/ |
H A D | attest_result_info.h | 41 int32_t ticketLength; member
|
/test/xts/device_attest/services/core/include/attest/ |
H A D | attest_service.h | 31 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 D | device_attest.c | 83 if (attestResultInfo.ticketLength <= 0) { in AttestStatusValid()
|
/test/xts/device_attest_lite/framework/small/src/client/ |
H A D | attest_framework_client_proxy.c | 103 if (!ReadInt32(reply, (int32_t *)&attestResult->ticketLength)) { in ReadAttestResultInfo() 104 HILOGE("[ReadAttestResultInfo] Failed to read ticketLength."); in ReadAttestResultInfo()
|