/openthread-3.7.0/third_party/mbedtls/repo/tests/src/ |
D | psa_test_wrappers.c | 24 psa_status_t status = (mbedtls_psa_inject_entropy)(arg0_seed, arg1_seed_size); in mbedtls_test_wrap_mbedtls_psa_inject_entropy() local 36 …psa_status_t status = (mbedtls_psa_platform_get_builtin_key)(arg0_key_id, arg1_lifetime, arg2_slot… in mbedtls_test_wrap_mbedtls_psa_platform_get_builtin_key() local 46 psa_status_t status = (mbedtls_psa_register_se_key)(arg0_attributes); in mbedtls_test_wrap_mbedtls_psa_register_se_key() local 55 psa_status_t status = (psa_aead_abort)(arg0_operation); in mbedtls_test_wrap_psa_aead_abort() local 79 …psa_status_t status = (psa_aead_decrypt)(arg0_key, arg1_alg, arg2_nonce, arg3_nonce_length, arg4_a… in mbedtls_test_wrap_psa_aead_decrypt() local 95 psa_status_t status = (psa_aead_decrypt_setup)(arg0_operation, arg1_key, arg2_alg); in mbedtls_test_wrap_psa_aead_decrypt_setup() local 119 …psa_status_t status = (psa_aead_encrypt)(arg0_key, arg1_alg, arg2_nonce, arg3_nonce_length, arg4_a… in mbedtls_test_wrap_psa_aead_encrypt() local 135 psa_status_t status = (psa_aead_encrypt_setup)(arg0_operation, arg1_key, arg2_alg); in mbedtls_test_wrap_psa_aead_encrypt_setup() local 153 …psa_status_t status = (psa_aead_finish)(arg0_operation, arg1_ciphertext, arg2_ciphertext_size, arg… in mbedtls_test_wrap_psa_aead_finish() local 171 …psa_status_t status = (psa_aead_generate_nonce)(arg0_operation, arg1_nonce, arg2_nonce_size, arg3_… in mbedtls_test_wrap_psa_aead_generate_nonce() local [all …]
|
D | psa_crypto_helpers.c | 107 psa_status_t mbedtls_test_record_status(psa_status_t status, in mbedtls_test_record_status() 170 psa_status_t status = psa_its_get(PSA_CRYPTO_ITS_RANDOM_SEED_UID, in mbedtls_test_inject_entropy_seed_read() local 183 psa_status_t status = psa_its_set(PSA_CRYPTO_ITS_RANDOM_SEED_UID, in mbedtls_test_inject_entropy_seed_write() local 197 psa_status_t status = mbedtls_psa_inject_entropy(buf, sizeof(buf)); in mbedtls_test_inject_entropy_restore() local
|
D | psa_exercise_key.c | 50 psa_status_t status = psa_get_key_attributes(key, &attributes); in check_key_attributes_sanity() local 129 psa_status_t status = PSA_SUCCESS; in exercise_mac_key() local 190 psa_status_t status = PSA_SUCCESS; in exercise_cipher_key() local 276 psa_status_t status = PSA_SUCCESS; in exercise_aead_key() local 355 psa_status_t status = PSA_SUCCESS; in exercise_signature_key() local 450 psa_status_t status = PSA_SUCCESS; in exercise_asymmetric_encryption_key() local 495 psa_status_t status = PSA_SUCCESS; in mbedtls_test_psa_setup_key_derivation_wrap() local 609 psa_status_t status = psa_key_derivation_output_bytes(&operation, in exercise_key_derivation_key() local 640 psa_status_t status = psa_get_key_attributes(key, &attributes); in mbedtls_test_psa_key_agreement_with_self() local 697 psa_status_t status = psa_get_key_attributes(key, &attributes); in mbedtls_test_psa_raw_key_agreement_with_self() local [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/library/ |
D | psa_crypto.c | 590 static void psa_wipe_tag_output_buffer(uint8_t *output_buffer, psa_status_t status, in psa_wipe_tag_output_buffer() 725 psa_status_t status = psa_allocate_buffer_to_slot(slot, in psa_copy_key_material_into_slot() local 741 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_import_key_into_slot() local 1097 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot_with_policy() local 1163 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 1194 psa_status_t status = psa_remove_key_data_from_memory(slot); in psa_wipe_key_slot() local 1251 psa_status_t status; /* status of the last operation */ in psa_destroy_key() local 1401 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_key_attributes() local 1480 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_export_key() local 1595 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_export_public_key() local [all …]
|
D | psa_crypto_slot_management.c | 109 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot_in_memory() local 180 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_reserve_free_key_slot() local 247 psa_status_t status = PSA_SUCCESS; in psa_load_persistent_key_into_slot() local 291 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_load_builtin_key_into_slot() local 364 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot() local 486 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_unregister_read_under_mutex() local 550 psa_status_t status; in psa_open_key() local 576 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_close_key() local 617 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_purge_key() local
|
D | psa_crypto_storage.c | 79 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
|
D | psa_crypto_aead.c | 33 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_aead_setup() local 126 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_encrypt() local 238 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_decrypt() local 328 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_encrypt_setup() local 349 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_decrypt_setup() local 367 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_set_nonce() local 449 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_update_ad() local 493 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_update() local 558 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_finish() local
|
D | block_cipher.c | 45 static int mbedtls_cipher_error_from_psa(psa_status_t status) in mbedtls_cipher_error_from_psa() 129 psa_status_t status; in mbedtls_block_cipher_setkey() local 170 psa_status_t status; in mbedtls_block_cipher_encrypt() local
|
D | psa_crypto_driver_wrappers.h | 74 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_init() local 122 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_message() local 196 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_message() local 283 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_hash() local 387 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_hash() local 517 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_hash_start() local 609 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_hash_start() local 736 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_generate_key() local 846 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_import_key() local 956 psa_status_t status = PSA_ERROR_INVALID_ARGUMENT; in psa_driver_wrapper_export_key() local [all …]
|
D | psa_crypto_ecp.c | 96 psa_status_t status; in mbedtls_psa_ecp_load_representation() local 215 psa_status_t status; in mbedtls_psa_ecp_import_key() local 257 psa_status_t status; in mbedtls_psa_ecp_export_key() local 295 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecp_export_public_key() local 324 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecp_generate_key() local 371 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_sign_hash() local 457 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_verify_hash() local 528 psa_status_t status; in mbedtls_psa_key_agreement_ecdh() local
|
D | ssl_cookie.c | 30 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
|
D | psa_crypto_mac.c | 41 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
|
D | psa_crypto_se.c | 128 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
|
D | psa_crypto_rsa.c | 46 psa_status_t status; in psa_check_rsa_key_byte_aligned() local 63 psa_status_t status; in mbedtls_psa_rsa_load_representation() local 115 psa_status_t status; in mbedtls_psa_rsa_import_key() local 195 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_export_public_key() local 247 psa_status_t status; in mbedtls_psa_rsa_generate_key() local 323 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_sign_hash() local 422 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_verify_hash() local 528 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_asymmetric_encrypt() local 622 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_asymmetric_decrypt() local
|
D | pk_internal.h | 24 #define PSA_PK_TO_MBEDTLS_ERR(status) psa_pk_status_to_mbedtls(status) argument 25 #define PSA_PK_RSA_TO_MBEDTLS_ERR(status) PSA_TO_MBEDTLS_ERR_LIST(status, \ argument 28 #define PSA_PK_ECDSA_TO_MBEDTLS_ERR(status) PSA_TO_MBEDTLS_ERR_LIST(status, \ argument
|
D | psa_crypto_cipher.c | 265 psa_status_t status; in mbedtls_cipher_info_from_psa() local 426 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_cipher_update_ecb() local 504 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_update() local 556 psa_status_t status = PSA_ERROR_GENERIC_ERROR; in mbedtls_psa_cipher_finish() local 617 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_encrypt() local 673 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_decrypt() local
|
D | lmots.c | 38 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 126 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in create_digit_array_with_checksum() local 221 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in hash_digit_array() local 318 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in public_key_from_hashed_digit_array() local 364 int mbedtls_lms_error_from_psa(psa_status_t status) in mbedtls_lms_error_from_psa() 571 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_lmots_generate_private_key() local
|
D | ssl_ticket.c | 24 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 164 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_ticket_rotate() local 316 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_ticket_write() local 433 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_ticket_parse() local
|
D | psa_util.c | 125 int psa_generic_status_to_mbedtls(psa_status_t status) in psa_generic_status_to_mbedtls() 143 int psa_status_to_mbedtls(psa_status_t status, in psa_status_to_mbedtls() 157 int psa_pk_status_to_mbedtls(psa_status_t status) in psa_pk_status_to_mbedtls() 358 psa_status_t status = psa_generate_random(output, output_size); in mbedtls_psa_get_random() local
|
D | md.c | 353 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()
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/psa/ |
D | key_ladder_demo.c | 158 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
|
D | crypto_examples.c | 57 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
|
D | aead_demo.c | 122 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
|
D | hmac_demo.c | 95 psa_status_t status; in hmac_demo() local 144 psa_status_t status = PSA_SUCCESS; in main() local
|
/openthread-3.7.0/tools/harness-simulation/posix/sniffer_sim/proto/ |
D | sniffer.proto | 44 Status status = 1; field 59 Status status = 1; field 66 Status status = 1; field
|