/mbedtls-development/include/psa/ |
A D | crypto.h | 102 psa_status_t psa_crypto_init(void); 3312 psa_status_t psa_key_derivation_setup( 3336 psa_status_t psa_key_derivation_get_capacity( 3365 psa_status_t psa_key_derivation_set_capacity( 3420 psa_status_t psa_key_derivation_input_bytes( 3534 psa_status_t psa_key_derivation_input_key( 3652 psa_status_t psa_key_derivation_output_bytes( 3803 psa_status_t psa_key_derivation_output_key( 3862 psa_status_t psa_key_derivation_verify_bytes( 3927 psa_status_t psa_key_derivation_verify_key( [all …]
|
A D | crypto_se_driver.h | 200 typedef psa_status_t (*psa_drv_se_mac_update_t)(void *op_context, 220 typedef psa_status_t (*psa_drv_se_mac_finish_t)(void *op_context, 251 typedef psa_status_t (*psa_drv_se_mac_abort_t)(void *op_context); 412 typedef psa_status_t (*psa_drv_se_cipher_set_iv_t)(void *op_context, 434 typedef psa_status_t (*psa_drv_se_cipher_update_t)(void *op_context, 911 typedef psa_status_t (*psa_drv_se_allocate_key_t)( 957 typedef psa_status_t (*psa_drv_se_validate_slot_number_t)( 993 typedef psa_status_t (*psa_drv_se_import_key_t)( 1019 typedef psa_status_t (*psa_drv_se_destroy_key_t)( 1107 typedef psa_status_t (*psa_drv_se_generate_key_t)( [all …]
|
/mbedtls-development/library/ |
A D | psa_crypto_driver_wrappers.h | 31 psa_status_t psa_driver_wrapper_sign_message( 42 psa_status_t psa_driver_wrapper_verify_message( 52 psa_status_t psa_driver_wrapper_sign_hash( 58 psa_status_t psa_driver_wrapper_verify_hash( 68 psa_status_t psa_driver_wrapper_import_key( 74 psa_status_t psa_driver_wrapper_export_key( 103 psa_status_t psa_driver_wrapper_copy_key( 178 psa_status_t psa_driver_wrapper_hash_setup( 182 psa_status_t psa_driver_wrapper_hash_clone( 197 psa_status_t psa_driver_wrapper_hash_abort( [all …]
|
A D | psa_crypto_mac.h | 58 psa_status_t mbedtls_psa_mac_compute( 97 psa_status_t mbedtls_psa_mac_sign_setup( 132 psa_status_t mbedtls_psa_mac_verify_setup( 164 psa_status_t mbedtls_psa_mac_update( 206 psa_status_t mbedtls_psa_mac_sign_finish( 247 psa_status_t mbedtls_psa_mac_verify_finish( 273 psa_status_t mbedtls_psa_mac_abort( 323 psa_status_t mbedtls_transparent_test_driver_mac_abort( 326 psa_status_t mbedtls_opaque_test_driver_mac_compute( 351 psa_status_t mbedtls_opaque_test_driver_mac_update( [all …]
|
A D | psa_crypto_hash.h | 63 psa_status_t mbedtls_psa_hash_compute( 103 psa_status_t mbedtls_psa_hash_setup( 135 psa_status_t mbedtls_psa_hash_clone( 162 psa_status_t mbedtls_psa_hash_update( 201 psa_status_t mbedtls_psa_hash_finish( 231 psa_status_t mbedtls_psa_hash_abort( 248 psa_status_t mbedtls_transparent_test_driver_hash_setup( 252 psa_status_t mbedtls_transparent_test_driver_hash_clone( 256 psa_status_t mbedtls_transparent_test_driver_hash_update( 261 psa_status_t mbedtls_transparent_test_driver_hash_finish( [all …]
|
A D | psa_crypto_cipher.h | 67 psa_status_t mbedtls_psa_cipher_encrypt_setup( 97 psa_status_t mbedtls_psa_cipher_decrypt_setup( 125 psa_status_t mbedtls_psa_cipher_set_iv( 150 psa_status_t mbedtls_psa_cipher_update( 181 psa_status_t mbedtls_psa_cipher_finish( 324 psa_status_t mbedtls_transparent_test_driver_cipher_set_iv( 328 psa_status_t mbedtls_transparent_test_driver_cipher_update( 333 psa_status_t mbedtls_transparent_test_driver_cipher_finish( 337 psa_status_t mbedtls_transparent_test_driver_cipher_abort( 340 psa_status_t mbedtls_transparent_test_driver_cipher_encrypt( [all …]
|
A D | psa_crypto_mac.c | 45 static psa_status_t psa_hmac_abort_internal( in psa_hmac_abort_internal() 62 psa_status_t status; in psa_hmac_setup_internal() 134 psa_status_t status; in psa_hmac_finish_internal() 209 static psa_status_t mac_init( in mac_init() 335 static psa_status_t mac_update( in mac_update() 403 static psa_status_t mac_sign_finish( in mac_sign_finish() 422 static psa_status_t mac_verify_finish( in mac_verify_finish() 450 static psa_status_t mac_compute( in mac_compute() 490 psa_status_t mbedtls_psa_mac_compute( in mbedtls_psa_mac_compute() 528 psa_status_t mbedtls_psa_mac_update( in mbedtls_psa_mac_update() [all …]
|
A D | psa_crypto_ecp.h | 77 psa_status_t mbedtls_psa_ecp_import_key( 91 psa_status_t mbedtls_psa_ecp_export_key( psa_key_type_t type, 121 psa_status_t mbedtls_psa_ecp_export_public_key( 145 psa_status_t mbedtls_psa_ecp_generate_key( 181 psa_status_t mbedtls_psa_ecdsa_sign_hash( 216 psa_status_t mbedtls_psa_ecdsa_verify_hash( 227 psa_status_t mbedtls_test_driver_ecp_import_key( 233 psa_status_t mbedtls_test_driver_ecp_export_public_key( 238 psa_status_t mbedtls_transparent_test_driver_ecp_generate_key( 242 psa_status_t mbedtls_transparent_test_driver_ecdsa_sign_hash( [all …]
|
A D | psa_crypto_rsa.h | 68 psa_status_t mbedtls_psa_rsa_import_key( 82 psa_status_t mbedtls_psa_rsa_export_key( psa_key_type_t type, 112 psa_status_t mbedtls_psa_rsa_export_public_key( 136 psa_status_t mbedtls_psa_rsa_generate_key( 173 psa_status_t mbedtls_psa_rsa_sign_hash( 209 psa_status_t mbedtls_psa_rsa_verify_hash( 221 psa_status_t mbedtls_test_driver_rsa_import_key( 227 psa_status_t mbedtls_test_driver_rsa_export_public_key( 232 psa_status_t mbedtls_transparent_test_driver_rsa_generate_key( 236 psa_status_t mbedtls_transparent_test_driver_rsa_sign_hash( [all …]
|
A D | psa_crypto_storage.c | 97 psa_status_t status; in psa_crypto_storage_load() 115 psa_status_t ret; in psa_is_key_present_in_storage() 147 psa_status_t status; in psa_crypto_storage_store() 186 psa_status_t ret; in psa_destroy_persistent_key() 220 psa_status_t status; in psa_crypto_storage_get_data_length() 284 psa_status_t status; in psa_parse_key_data_from_storage() 333 psa_status_t status; in psa_save_persistent_key() 370 psa_status_t status = PSA_SUCCESS; in psa_load_persistent_key() 414 psa_status_t status; in psa_crypto_save_transaction() 432 psa_status_t status; in psa_crypto_load_transaction() [all …]
|
A D | psa_crypto.c | 1574 psa_status_t status; in psa_start_key_creation() 1890 psa_status_t status; in psa_import_key() 1971 psa_status_t status; in mbedtls_psa_register_se_key() 4379 psa_status_t status; in psa_key_derivation_hkdf_read() 4565 psa_status_t status; in psa_key_derivation_tls12_prf_read() 4614 psa_status_t status; in psa_key_derivation_output_bytes() 4704 psa_status_t status; in psa_generate_derived_key_internal() 4755 psa_status_t status; in psa_key_derivation_output_key() 4850 psa_status_t status; in psa_key_derivation_setup() 4889 psa_status_t status; in psa_hkdf_input() [all …]
|
A D | psa_crypto_core.h | 197 psa_status_t psa_wipe_key_slot( psa_key_slot_t *slot ); 211 psa_status_t psa_allocate_buffer_to_slot( psa_key_slot_t *slot, 234 psa_status_t psa_copy_key_material_into_slot( psa_key_slot_t *slot, 247 psa_status_t mbedtls_to_psa_error( int ret ); 291 psa_status_t psa_import_key_into_slot( 319 psa_status_t psa_export_key_internal( 347 psa_status_t psa_export_public_key_internal( 414 psa_status_t psa_sign_message_builtin( 451 psa_status_t psa_verify_message_builtin( 490 psa_status_t psa_sign_hash_builtin( [all …]
|
A D | psa_crypto_aead.h | 79 psa_status_t mbedtls_psa_aead_encrypt( 142 psa_status_t mbedtls_psa_aead_decrypt( 187 psa_status_t mbedtls_psa_aead_encrypt_setup( 230 psa_status_t mbedtls_psa_aead_decrypt_setup( 265 psa_status_t mbedtls_psa_aead_set_nonce( 306 psa_status_t mbedtls_psa_aead_set_lengths( 343 psa_status_t mbedtls_psa_aead_update_ad( 403 psa_status_t mbedtls_psa_aead_update( 475 psa_status_t mbedtls_psa_aead_finish( 508 psa_status_t mbedtls_psa_aead_abort(
|
A D | psa_crypto_slot_management.h | 95 psa_status_t psa_get_and_lock_key_slot( mbedtls_svc_key_id_t key, 103 psa_status_t psa_initialize_key_slots( void ); 125 psa_status_t psa_get_empty_key_slot( psa_key_id_t *volatile_key_id, 140 static inline psa_status_t psa_lock_key_slot( psa_key_slot_t *slot ) in psa_lock_key_slot() 166 psa_status_t psa_unlock_key_slot( psa_key_slot_t *slot ); 200 psa_status_t psa_validate_key_location( psa_key_lifetime_t lifetime, 211 psa_status_t psa_validate_key_persistence( psa_key_lifetime_t lifetime );
|
A D | psa_crypto_driver_wrappers.c | 71 psa_status_t psa_driver_wrapper_sign_message( in psa_driver_wrapper_sign_message() 146 psa_status_t psa_driver_wrapper_verify_message( in psa_driver_wrapper_verify_message() 217 psa_status_t psa_driver_wrapper_sign_hash( in psa_driver_wrapper_sign_hash() 301 psa_status_t psa_driver_wrapper_verify_hash( in psa_driver_wrapper_verify_hash() 547 psa_status_t psa_driver_wrapper_import_key( in psa_driver_wrapper_import_key() 629 psa_status_t psa_driver_wrapper_export_key( in psa_driver_wrapper_export_key() 786 psa_status_t psa_driver_wrapper_copy_key( in psa_driver_wrapper_copy_key() 1335 psa_status_t psa_driver_wrapper_hash_setup( in psa_driver_wrapper_hash_setup() 1368 psa_status_t psa_driver_wrapper_hash_clone( in psa_driver_wrapper_hash_clone() 1445 psa_status_t psa_driver_wrapper_hash_abort( in psa_driver_wrapper_hash_abort() [all …]
|
A D | psa_crypto_cipher.c | 155 static psa_status_t cipher_setup( in cipher_setup() 231 static psa_status_t cipher_encrypt_setup( in cipher_encrypt_setup() 242 static psa_status_t cipher_decrypt_setup( in cipher_decrypt_setup() 287 static psa_status_t psa_cipher_update_ecb( in psa_cipher_update_ecb() 294 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_cipher_update_ecb() 375 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in cipher_update() 425 psa_status_t status = PSA_ERROR_GENERIC_ERROR; in cipher_finish() 481 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in cipher_encrypt() 534 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in cipher_decrypt() 575 psa_status_t mbedtls_psa_cipher_encrypt_setup( in mbedtls_psa_cipher_encrypt_setup() [all …]
|
A D | psa_crypto_storage.h | 108 psa_status_t psa_save_persistent_key( const psa_core_key_attributes_t *attr, 138 psa_status_t psa_load_persistent_key( psa_core_key_attributes_t *attr, 153 psa_status_t psa_destroy_persistent_key( const mbedtls_svc_key_id_t key ); 197 psa_status_t psa_parse_key_data_from_storage( const uint8_t *storage_data, 333 psa_status_t psa_crypto_save_transaction( void ); 349 psa_status_t psa_crypto_load_transaction( void ); 369 psa_status_t psa_crypto_stop_transaction( void ); 391 psa_status_t mbedtls_psa_storage_inject_entropy( const unsigned char *seed,
|
A D | psa_crypto_slot_management.c | 101 static psa_status_t psa_get_and_lock_key_slot_in_memory( in psa_get_and_lock_key_slot_in_memory() 104 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot_in_memory() 149 psa_status_t psa_initialize_key_slots( void ) in psa_initialize_key_slots() 174 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_empty_key_slot() 239 psa_status_t status = PSA_SUCCESS; in psa_load_persistent_key_into_slot() 281 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_load_builtin_key_into_slot() 484 psa_status_t status; in psa_open_key() 508 psa_status_t psa_close_key( psa_key_handle_t handle ) in psa_close_key() 510 psa_status_t status; in psa_close_key() 530 psa_status_t psa_purge_key( mbedtls_svc_key_id_t key ) in psa_purge_key() [all …]
|
/mbedtls-development/tests/include/test/drivers/ |
A D | mac.h | 31 psa_status_t forced_status; 35 psa_status_t driver_status; 48 psa_status_t mbedtls_test_transparent_mac_compute( 73 psa_status_t mbedtls_test_transparent_mac_update( 89 psa_status_t mbedtls_test_transparent_mac_abort( 92 psa_status_t mbedtls_test_opaque_mac_compute( 103 psa_status_t mbedtls_test_opaque_mac_sign_setup( 110 psa_status_t mbedtls_test_opaque_mac_verify_setup( 117 psa_status_t mbedtls_test_opaque_mac_update( 122 psa_status_t mbedtls_test_opaque_mac_sign_finish( [all …]
|
A D | cipher.h | 37 psa_status_t forced_status; 52 psa_status_t mbedtls_test_transparent_cipher_encrypt( 59 psa_status_t mbedtls_test_transparent_cipher_decrypt( 78 psa_status_t mbedtls_test_transparent_cipher_abort( 81 psa_status_t mbedtls_test_transparent_cipher_set_iv( 97 psa_status_t mbedtls_test_opaque_cipher_encrypt( 104 psa_status_t mbedtls_test_opaque_cipher_decrypt( 123 psa_status_t mbedtls_test_opaque_cipher_abort( 126 psa_status_t mbedtls_test_opaque_cipher_set_iv( 130 psa_status_t mbedtls_test_opaque_cipher_update( [all …]
|
A D | aead.h | 31 psa_status_t forced_status; 46 psa_status_t driver_status; 59 psa_status_t mbedtls_test_transparent_aead_encrypt( 68 psa_status_t mbedtls_test_transparent_aead_decrypt( 89 psa_status_t mbedtls_test_transparent_aead_set_nonce( 94 psa_status_t mbedtls_test_transparent_aead_set_lengths( 99 psa_status_t mbedtls_test_transparent_aead_update_ad( 104 psa_status_t mbedtls_test_transparent_aead_update( 112 psa_status_t mbedtls_test_transparent_aead_finish( 121 psa_status_t mbedtls_test_transparent_aead_verify( [all …]
|
A D | hash.h | 31 psa_status_t forced_status; 35 psa_status_t driver_status; 48 psa_status_t mbedtls_test_transparent_hash_compute( 53 psa_status_t mbedtls_test_transparent_hash_setup( 57 psa_status_t mbedtls_test_transparent_hash_clone( 61 psa_status_t mbedtls_test_transparent_hash_update( 66 psa_status_t mbedtls_test_transparent_hash_finish( 72 psa_status_t mbedtls_test_transparent_hash_abort(
|
A D | key_management.h | 37 psa_status_t forced_status; 69 psa_status_t mbedtls_test_transparent_generate_key( 73 psa_status_t mbedtls_test_opaque_generate_key( 77 psa_status_t mbedtls_test_opaque_export_key( 82 psa_status_t mbedtls_test_transparent_export_public_key( 87 psa_status_t mbedtls_test_opaque_export_public_key( 92 psa_status_t mbedtls_test_transparent_import_key( 101 psa_status_t mbedtls_test_opaque_import_key( 110 psa_status_t mbedtls_test_opaque_get_builtin_key( 115 psa_status_t mbedtls_test_opaque_copy_key(
|
A D | signature.h | 34 psa_status_t forced_status; 53 psa_status_t mbedtls_test_transparent_signature_sign_message( 64 psa_status_t mbedtls_test_opaque_signature_sign_message( 75 psa_status_t mbedtls_test_transparent_signature_verify_message( 85 psa_status_t mbedtls_test_opaque_signature_verify_message( 95 psa_status_t mbedtls_test_transparent_signature_sign_hash( 102 psa_status_t mbedtls_test_opaque_signature_sign_hash( 109 psa_status_t mbedtls_test_transparent_signature_verify_hash( 116 psa_status_t mbedtls_test_opaque_signature_verify_hash(
|
/mbedtls-development/tests/src/drivers/ |
A D | test_driver_cipher.c | 38 psa_status_t mbedtls_test_transparent_cipher_encrypt( in mbedtls_test_transparent_cipher_encrypt() 75 psa_status_t mbedtls_test_transparent_cipher_decrypt( in mbedtls_test_transparent_cipher_decrypt() 146 psa_status_t mbedtls_test_transparent_cipher_abort( in mbedtls_test_transparent_cipher_abort() 165 psa_status_t mbedtls_test_transparent_cipher_set_iv( in mbedtls_test_transparent_cipher_set_iv() 179 psa_status_t mbedtls_test_transparent_cipher_update( in mbedtls_test_transparent_cipher_update() 241 psa_status_t mbedtls_test_opaque_cipher_encrypt( in mbedtls_test_opaque_cipher_encrypt() 260 psa_status_t mbedtls_test_opaque_cipher_decrypt( in mbedtls_test_opaque_cipher_decrypt() 307 psa_status_t mbedtls_test_opaque_cipher_abort( in mbedtls_test_opaque_cipher_abort() 314 psa_status_t mbedtls_test_opaque_cipher_set_iv( in mbedtls_test_opaque_cipher_set_iv() 325 psa_status_t mbedtls_test_opaque_cipher_update( in mbedtls_test_opaque_cipher_update() [all …]
|