Lines Matching refs:status
57 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_test_transparent_init() local
60 status = libtestdriver1_psa_crypto_init(); in mbedtls_test_transparent_init()
61 if (status != PSA_SUCCESS) { in mbedtls_test_transparent_init()
62 return status; in mbedtls_test_transparent_init()
66 (void) status; in mbedtls_test_transparent_init()
356 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_test_opaque_import_key() local
377 status = psa_validate_unstructured_key_bit_size(type, in mbedtls_test_opaque_import_key()
379 if (status != PSA_SUCCESS) { in mbedtls_test_opaque_import_key()
394 status = libtestdriver1_mbedtls_psa_ecp_import_key( in mbedtls_test_opaque_import_key()
401 status = mbedtls_psa_ecp_import_key( in mbedtls_test_opaque_import_key()
407 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_import_key()
409 if (status != PSA_SUCCESS) { in mbedtls_test_opaque_import_key()
416 status = libtestdriver1_mbedtls_psa_rsa_import_key( in mbedtls_test_opaque_import_key()
423 status = mbedtls_psa_rsa_import_key( in mbedtls_test_opaque_import_key()
429 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_import_key()
431 if (status != PSA_SUCCESS) { in mbedtls_test_opaque_import_key()
435 status = PSA_ERROR_INVALID_ARGUMENT; in mbedtls_test_opaque_import_key()
439 status = mbedtls_test_opaque_wrap_key(key_buffer_temp, *key_buffer_length, in mbedtls_test_opaque_import_key()
443 return status; in mbedtls_test_opaque_import_key()
516 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_test_opaque_export_key() local
522 status = mbedtls_test_opaque_unwrap_key(key, key_length, in mbedtls_test_opaque_export_key()
524 return status; in mbedtls_test_opaque_export_key()
615 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_test_opaque_export_public_key() local
625 status = mbedtls_test_opaque_unwrap_key(key, key_length, in mbedtls_test_opaque_export_public_key()
627 if (status == PSA_SUCCESS) { in mbedtls_test_opaque_export_public_key()
631 status = libtestdriver1_mbedtls_psa_ecp_export_public_key( in mbedtls_test_opaque_export_public_key()
637 status = mbedtls_psa_ecp_export_public_key( in mbedtls_test_opaque_export_public_key()
642 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_export_public_key()
646 status = mbedtls_test_opaque_unwrap_key(key, key_length, in mbedtls_test_opaque_export_public_key()
648 if (status == PSA_SUCCESS) { in mbedtls_test_opaque_export_public_key()
652 status = libtestdriver1_mbedtls_psa_rsa_export_public_key( in mbedtls_test_opaque_export_public_key()
658 status = mbedtls_psa_rsa_export_public_key( in mbedtls_test_opaque_export_public_key()
663 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_export_public_key()
667 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_export_public_key()
672 return status; in mbedtls_test_opaque_export_public_key()