Home
last modified time | relevance | path

Searched defs:status (Results 1 – 25 of 89) sorted by relevance

1234

/mbedtls-3.6.0/library/
Dpsa_crypto.c397 static void psa_wipe_tag_output_buffer(uint8_t *output_buffer, psa_status_t status, in psa_wipe_tag_output_buffer()
532 psa_status_t status = psa_allocate_buffer_to_slot(slot, in psa_copy_key_material_into_slot() local
548 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_import_key_into_slot() local
898 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot_with_policy() local
958 psa_status_t status = psa_get_and_lock_key_slot_with_policy(key, p_slot, in psa_get_and_lock_transparent_key_slot_with_policy() local
993 psa_status_t status = psa_remove_key_data_from_memory(slot); in psa_wipe_key_slot() local
1023 psa_status_t status; /* status of the last operation */ in psa_destroy_key() local
1187 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_key_attributes() local
1311 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_export_key() local
1422 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_export_public_key() local
[all …]
Dpsa_crypto_storage.c79 psa_status_t status; in psa_crypto_storage_load() local
132 psa_status_t status; in psa_crypto_storage_store() local
205 psa_status_t status; in psa_crypto_storage_get_data_length() local
272 psa_status_t status; in psa_parse_key_data_from_storage() local
323 psa_status_t status; in psa_save_persistent_key() local
359 psa_status_t status = PSA_SUCCESS; in psa_load_persistent_key() local
407 psa_status_t status; in psa_crypto_save_transaction() local
424 psa_status_t status; in psa_crypto_load_transaction() local
440 psa_status_t status = psa_its_remove(PSA_CRYPTO_ITS_TRANSACTION_UID); in psa_crypto_stop_transaction() local
460 psa_status_t status; in mbedtls_psa_storage_inject_entropy() local
Dpsa_crypto_slot_management.c86 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot_in_memory() local
153 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_empty_key_slot() local
215 psa_status_t status = PSA_SUCCESS; in psa_load_persistent_key_into_slot() local
256 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_load_builtin_key_into_slot() local
330 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot() local
458 psa_status_t status; in psa_open_key() local
484 psa_status_t status; in psa_close_key() local
508 psa_status_t status; in psa_purge_key() local
Dpsa_crypto_aead.c33 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_aead_setup() local
130 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_encrypt() local
242 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_decrypt() local
332 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_encrypt_setup() local
353 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_decrypt_setup() local
371 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_set_nonce() local
453 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_update_ad() local
497 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_update() local
562 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_finish() local
Dpk_internal.h26 #define PSA_PK_TO_MBEDTLS_ERR(status) psa_pk_status_to_mbedtls(status) argument
27 #define PSA_PK_RSA_TO_MBEDTLS_ERR(status) PSA_TO_MBEDTLS_ERR_LIST(status, \ argument
30 #define PSA_PK_ECDSA_TO_MBEDTLS_ERR(status) PSA_TO_MBEDTLS_ERR_LIST(status, \ argument
Dpsa_util.c103 int psa_generic_status_to_mbedtls(psa_status_t status) in psa_generic_status_to_mbedtls()
121 int psa_status_to_mbedtls(psa_status_t status, in psa_status_to_mbedtls()
135 int psa_pk_status_to_mbedtls(psa_status_t status) in psa_pk_status_to_mbedtls()
Dpsa_crypto_ecp.c41 psa_status_t status; in mbedtls_psa_ecp_load_representation() local
161 psa_status_t status; in mbedtls_psa_ecp_import_key() local
203 psa_status_t status; in mbedtls_psa_ecp_export_key() local
253 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecp_export_public_key() local
282 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecp_generate_key() local
336 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_sign_hash() local
422 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_verify_hash() local
493 psa_status_t status; in mbedtls_psa_key_agreement_ecdh() local
Dpsa_crypto_driver_wrappers.h103 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_init() local
166 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_message() local
254 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_message() local
354 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_hash() local
473 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_hash() local
834 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_generate_key() local
935 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_import_key() local
1048 psa_status_t status = PSA_ERROR_INVALID_ARGUMENT; in psa_driver_wrapper_export_key() local
1116 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_copy_key() local
1177 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_cipher_encrypt() local
[all …]
Dssl_cookie.c30 static int local_err_translation(psa_status_t status) in local_err_translation()
36 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument
106 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_cookie_setup() local
191 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_cookie_write() local
280 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_cookie_check() local
Dpsa_crypto_mac.c41 psa_status_t status; in psa_hmac_setup_internal() local
120 psa_status_t status; in psa_hmac_finish_internal() local
206 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mac_init() local
277 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_mac_setup() local
409 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_mac_sign_finish() local
429 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_mac_verify_finish() local
466 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_mac_compute() local
Dpsa_crypto_se.c128 psa_status_t status; in psa_load_se_persistent_data() local
153 psa_status_t status; in psa_save_se_persistent_data() local
186 psa_status_t status; in psa_find_se_slot_for_key() local
237 psa_status_t status; in psa_destroy_se_key() local
269 psa_status_t status = methods->p_init( in psa_init_all_se_drivers() local
296 psa_status_t status; in psa_register_se_driver() local
Dpsa_crypto_rsa.c47 psa_status_t status; in psa_check_rsa_key_byte_aligned() local
64 psa_status_t status; in mbedtls_psa_rsa_load_representation() local
128 psa_status_t status; in mbedtls_psa_rsa_import_key() local
213 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_export_public_key() local
269 psa_status_t status; in mbedtls_psa_rsa_generate_key() local
344 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_sign_hash() local
443 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_verify_hash() local
549 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_asymmetric_encrypt() local
643 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_asymmetric_decrypt() local
Dpsa_crypto_cipher.c296 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_cipher_update_ecb() local
374 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_update() local
422 psa_status_t status = PSA_ERROR_GENERIC_ERROR; in mbedtls_psa_cipher_finish() local
483 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_encrypt() local
539 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_decrypt() local
Dssl_ticket.c24 static int local_err_translation(psa_status_t status) in local_err_translation()
30 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument
159 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_ticket_rotate() local
309 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_ticket_write() local
426 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_ticket_parse() local
Dlmots.c38 static int local_err_translation(psa_status_t status) in local_err_translation()
44 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument
149 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in create_digit_array_with_checksum() local
245 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in hash_digit_array() local
346 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in public_key_from_hashed_digit_array() local
392 int mbedtls_lms_error_from_psa(psa_status_t status) in mbedtls_lms_error_from_psa()
606 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_lmots_generate_private_key() local
Dmd.c353 psa_status_t status = psa_hash_clone(src->md_ctx, dst->md_ctx); in mbedtls_md_clone() local
522 psa_status_t status = psa_hash_setup(ctx->md_ctx, alg); in mbedtls_md_starts() local
581 psa_status_t status = psa_hash_update(ctx->md_ctx, input, ilen); in mbedtls_md_update() local
638 psa_status_t status = psa_hash_finish(ctx->md_ctx, in mbedtls_md_finish() local
695 psa_status_t status = psa_hash_compute(psa_alg_of_md(md_info), in mbedtls_md() local
765 int mbedtls_md_error_from_psa(psa_status_t status) in mbedtls_md_error_from_psa()
Dpsa_crypto_pake.c158 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_pake_setup() local
397 psa_status_t status = mbedtls_psa_pake_output_internal( in mbedtls_psa_pake_output() local
515 psa_status_t status = mbedtls_psa_pake_input_internal( in mbedtls_psa_pake_input() local
Dpsa_crypto_hash.c346 psa_status_t status; in mbedtls_psa_hash_finish() local
442 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_hash_compute() local
Dpsa_its_file.c115 psa_status_t status; in psa_its_get_info() local
130 psa_status_t status; in psa_its_get() local
189 psa_status_t status = PSA_ERROR_STORAGE_FAILURE; in psa_its_set() local
Dssl_tls13_keys.c41 static int local_err_translation(psa_status_t status) in local_err_translation()
47 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument
161 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_tls13_hkdf_expand_label() local
318 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_tls13_derive_secret() local
353 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_tls13_evolve_secret() local
719 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_tls13_calc_finished_core() local
957 psa_status_t status = PSA_SUCCESS; in mbedtls_ssl_tls13_populate_transform() local
1113 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_tls13_get_cipher_key_info() local
1502 psa_status_t status = PSA_ERROR_GENERIC_ERROR; in ssl_tls13_key_schedule_stage_handshake() local
1858 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_tls13_export_handshake_psk() local
/mbedtls-3.6.0/programs/psa/
Dkey_ladder_demo.c158 psa_status_t status = PSA_SUCCESS; in save_key() local
187 psa_status_t status = PSA_SUCCESS; in generate() local
216 psa_status_t status = PSA_SUCCESS; in import_key_from_file() local
265 psa_status_t status = PSA_SUCCESS; in derive_key_ladder() local
314 psa_status_t status = PSA_SUCCESS; in derive_wrapping_key() local
350 psa_status_t status; in wrap_data() local
437 psa_status_t status; in unwrap_data() local
530 psa_status_t status = PSA_SUCCESS; in run() local
616 psa_status_t status; in main() local
Dcrypto_examples.c57 psa_status_t status; in cipher_operation() local
95 psa_status_t status; in cipher_encrypt() local
126 psa_status_t status; in cipher_decrypt() local
155 psa_status_t status; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local
205 psa_status_t status; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local
252 psa_status_t status; in cipher_example_encrypt_decrypt_aes_ctr_multi() local
291 psa_status_t status; in cipher_examples() local
Daead_demo.c122 psa_status_t status; in aead_prepare() local
197 psa_status_t status; in aead_encrypt() local
231 psa_status_t status; in aead_demo() local
260 psa_status_t status = PSA_SUCCESS; in main() local
Dhmac_demo.c95 psa_status_t status; in hmac_demo() local
144 psa_status_t status = PSA_SUCCESS; in main() local
/mbedtls-3.6.0/tests/src/
Dpsa_crypto_helpers.c96 psa_status_t mbedtls_test_record_status(psa_status_t status, in mbedtls_test_record_status()
159 psa_status_t status = psa_its_get(PSA_CRYPTO_ITS_RANDOM_SEED_UID, in mbedtls_test_inject_entropy_seed_read() local
172 psa_status_t status = psa_its_set(PSA_CRYPTO_ITS_RANDOM_SEED_UID, in mbedtls_test_inject_entropy_seed_write() local
186 psa_status_t status = mbedtls_psa_inject_entropy(buf, sizeof(buf)); in mbedtls_test_inject_entropy_restore() local

1234