Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 13 of 13) sorted by relevance

/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a005/
Dtest_a005.c30 psa_status_t ret; in test_entry() local
46 ret = psa_adac_issue_command(SDP_LOCK_DEBUG_CMD, request, NULL, 0); in test_entry()
47 if (ret != PSA_SUCCESS) { in test_entry()
53 ret = psa_adac_parse_response(SDP_LOCK_DEBUG_CMD, response); in test_entry()
54 if (ret != PSA_SUCCESS) { in test_entry()
66 ret = psa_adac_load_certificate_chain(chain_file, &chain, &chain_size); in test_entry()
67 if (ret != PSA_SUCCESS) { in test_entry()
76 ret = psa_adac_read_extensions((uint32_t *)chain, chain_size, exts, &exts_count); in test_entry()
77 if (ret != PSA_SUCCESS) { in test_entry()
83 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, NULL, 0); in test_entry()
[all …]
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a002/
Dtest_a002.c30 psa_status_t ret; in test_entry() local
48 ret = psa_adac_issue_command(SDP_LOCK_DEBUG_CMD, request, NULL, 0); in test_entry()
49 if (ret != PSA_SUCCESS) { in test_entry()
55 ret = psa_adac_parse_response(SDP_LOCK_DEBUG_CMD, response); in test_entry()
56 if (ret != PSA_SUCCESS) { in test_entry()
68 ret = psa_adac_load_certificate_chain(chain_file, &chain, &chain_size); in test_entry()
69 if (ret != PSA_SUCCESS) { in test_entry()
78 ret = psa_adac_read_extensions((uint32_t *)chain, chain_size, exts, &exts_count); in test_entry()
79 if (ret != PSA_SUCCESS) { in test_entry()
85 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, NULL, 0); in test_entry()
[all …]
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a010/
Dtest_a010.c30 psa_status_t ret; in test_entry() local
46 ret = psa_adac_load_certificate_chain(chain_file, &chain, &chain_size); in test_entry()
47 if (ret != PSA_SUCCESS) { in test_entry()
56 ret = psa_adac_read_extensions((uint32_t *)chain, chain_size, exts, &exts_count); in test_entry()
57 if (ret != PSA_SUCCESS) { in test_entry()
63 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, NULL, 0); in test_entry()
64 if (ret != PSA_SUCCESS) { in test_entry()
70 ret = psa_adac_parse_response(SDP_DISCOVERY_CMD, response); in test_entry()
71 if (ret != PSA_SUCCESS) { in test_entry()
76 ret = psa_adac_check_cryptosystem_support(response, key_type); in test_entry()
[all …]
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a008/
Dtest_a008.c30 psa_status_t ret; in test_entry() local
46 ret = psa_adac_load_certificate_chain(chain_file, &chain, &chain_size); in test_entry()
47 if (ret != PSA_SUCCESS) { in test_entry()
56 ret = psa_adac_read_extensions((uint32_t *)chain, chain_size, exts, &exts_count); in test_entry()
57 if (ret != PSA_SUCCESS) { in test_entry()
64 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, NULL, 0); in test_entry()
65 if (ret != PSA_SUCCESS) { in test_entry()
71 ret = psa_adac_parse_response(SDP_DISCOVERY_CMD, response); in test_entry()
72 if (ret != PSA_SUCCESS) { in test_entry()
77 ret = psa_adac_check_cryptosystem_support(response, key_type); in test_entry()
[all …]
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a009/
Dtest_a009.c30 psa_status_t ret; in test_entry() local
46 ret = psa_adac_load_certificate_chain(chain_file, &chain, &chain_size); in test_entry()
47 if (ret != PSA_SUCCESS) { in test_entry()
56 ret = psa_adac_read_extensions((uint32_t *)chain, chain_size, exts, &exts_count); in test_entry()
57 if (ret != PSA_SUCCESS) { in test_entry()
64 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, NULL, 0); in test_entry()
65 if (ret != PSA_SUCCESS) { in test_entry()
71 ret = psa_adac_parse_response(SDP_DISCOVERY_CMD, response); in test_entry()
72 if (ret != PSA_SUCCESS) { in test_entry()
77 ret = psa_adac_check_cryptosystem_support(response, key_type); in test_entry()
[all …]
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a001/
Dtest_a001.c30 psa_status_t ret; in test_entry() local
47 ret = psa_adac_issue_command(SDP_AUTH_START_CMD, request, NULL, 0); in test_entry()
48 if (ret != PSA_SUCCESS) { in test_entry()
54 ret = psa_adac_parse_response(SDP_AUTH_START_CMD, response); in test_entry()
55 if (ret != PSA_SUCCESS) { in test_entry()
67 ret = psa_adac_issue_command(SDP_AUTH_START_CMD, request, NULL, 0); in test_entry()
68 if (ret != PSA_SUCCESS) { in test_entry()
74 ret = psa_adac_parse_response(SDP_AUTH_START_CMD, response); in test_entry()
75 if (ret != PSA_SUCCESS) { in test_entry()
/psa-arch-tests-3.4.0/secure-debug/platform/common/src/
Dadac_packet_util.c36 int ret = -1; in static_buffer_msg_init() local
42 ret = 0; in static_buffer_msg_init()
44 return ret; in static_buffer_msg_init()
49 int ret = -1; in static_buffer_msg_release() local
55 ret = 0; in static_buffer_msg_release()
57 return ret; in static_buffer_msg_release()
91 int ret = -1; in request_packet_release() local
95 ret = 0; in request_packet_release()
97 return ret; in request_packet_release()
116 int ret = -1; in response_packet_release() local
[all …]
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a006/
Dtest_a006.c30 psa_status_t ret; in test_entry() local
45 ret = psa_adac_issue_command(SDP_AUTH_RESPONSE_CMD, request, NULL, 0); in test_entry()
46 if (ret != PSA_SUCCESS) { in test_entry()
52 ret = psa_adac_parse_response(SDP_AUTH_RESPONSE_CMD, response); in test_entry()
53 if (ret != PSA_SUCCESS) { in test_entry()
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a011/
Dtest_a011.c30 psa_status_t ret; in test_entry() local
76 ret = psa_adac_load_certificate_chain(chain_file, &chain, &chain_size); in test_entry()
77 if (ret != PSA_SUCCESS) { in test_entry()
82 ret = psa_adac_read_extensions((uint32_t *)chain, chain_size, exts, &exts_count); in test_entry()
83 if (ret != PSA_SUCCESS) { in test_entry()
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a004/
Dtest_a004.c30 psa_status_t ret; in test_entry() local
53 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, type_id_ptr, type_id_size); in test_entry()
54 if (ret != PSA_SUCCESS) { in test_entry()
92 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, type_id_ptr, type_id_size); in test_entry()
93 if (ret != PSA_SUCCESS) { in test_entry()
124 ret = psa_adac_issue_command(SDP_DISCOVERY_CMD, request, type_id_ptr, type_id_size); in test_entry()
125 if (ret != PSA_SUCCESS) { in test_entry()
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a007/
Dtest_a007.c30 psa_status_t ret; in test_entry() local
/psa-arch-tests-3.4.0/secure-debug/tests/adac/test_a003/
Dtest_a003.c30 psa_status_t ret; in test_entry() local
/psa-arch-tests-3.4.0/secure-debug/
Dpsa_adac_ats.patch174 ret = authenticator_send_response(auth_ctx, response);
180 PSA_ADAC_LOG_ERR("auth", "Error sending response: %04x\n", ret);