Lines Matching refs:ret
30 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()
77 if (ret == PSA_ERROR_NOT_SUPPORTED) { in test_entry()
88 ret = psa_adac_get_private_key(key_file, &key_type, &handle, &key, &key_size); in test_entry()
89 if (ret != PSA_SUCCESS) { in test_entry()
94 ret = psa_adac_issue_command(SDP_AUTH_START_CMD, request, NULL, 0); in test_entry()
95 if (ret != PSA_SUCCESS) { in test_entry()
101 ret = psa_adac_parse_response(SDP_AUTH_START_CMD, response); in test_entry()
102 if (ret != PSA_SUCCESS) { in test_entry()
114 ret = psa_adac_construct_token(challenge->challenge_vector, sizeof(challenge->challenge_vector), in test_entry()
117 if (ret != PSA_SUCCESS) { in test_entry()
123 ret = psa_adac_send_certificate(exts, exts_count); in test_entry()
124 if (ret != PSA_SUCCESS) { in test_entry()
130 ret = psa_adac_issue_command(SDP_AUTH_RESPONSE_CMD, request, (uint8_t *)token, token_size); in test_entry()
131 if (ret != PSA_SUCCESS) { in test_entry()
138 ret = psa_adac_parse_response(SDP_AUTH_RESPONSE_CMD, response); in test_entry()
139 if (ret != PSA_SUCCESS) { in test_entry()