/mbedtls-development/include/psa/ |
A D | crypto_struct.h | 359 static inline void psa_set_key_id( psa_key_attributes_t *attributes, in psa_set_key_id() 376 const psa_key_attributes_t *attributes ) in psa_get_key_id() 389 static inline void psa_set_key_lifetime( psa_key_attributes_t *attributes, in psa_set_key_lifetime() 404 const psa_key_attributes_t *attributes ) in psa_get_key_lifetime() 426 const psa_key_attributes_t *attributes ) in psa_get_key_usage_flags() 431 static inline void psa_set_key_algorithm( psa_key_attributes_t *attributes, in psa_set_key_algorithm() 438 const psa_key_attributes_t *attributes ) in psa_get_key_algorithm() 450 static inline void psa_set_key_type( psa_key_attributes_t *attributes, in psa_set_key_type() 469 const psa_key_attributes_t *attributes ) in psa_get_key_type() 474 static inline void psa_set_key_bits( psa_key_attributes_t *attributes, in psa_set_key_bits() [all …]
|
A D | crypto_extra.h | 72 psa_key_attributes_t *attributes, in psa_set_key_enrollment_algorithm() 85 const psa_key_attributes_t *attributes) in psa_get_key_enrollment_algorithm() 142 psa_key_attributes_t *attributes, in psa_set_key_slot_number() 156 psa_key_attributes_t *attributes ) in psa_clear_key_slot_number()
|
/mbedtls-development/library/ |
A D | psa_crypto_ecp.c | 194 const psa_key_attributes_t *attributes, in ecp_import_key() 285 const psa_key_attributes_t *attributes, in ecp_export_public_key() 313 const psa_key_attributes_t *attributes, in ecp_generate_key() 363 const psa_key_attributes_t *attributes, in ecdsa_sign_hash() 437 const psa_key_attributes_t *attributes, in ecdsa_verify_hash() 502 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_import_key() 513 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_export_public_key() 526 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_generate_key() 539 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_sign_hash() 552 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_verify_hash() [all …]
|
A D | psa_crypto_client.c | 33 void psa_reset_key_attributes( psa_key_attributes_t *attributes ) in psa_reset_key_attributes() 39 psa_status_t psa_set_key_domain_parameters( psa_key_attributes_t *attributes, in psa_set_key_domain_parameters() 70 const psa_key_attributes_t *attributes, in psa_get_key_domain_parameters()
|
A D | psa_crypto_rsa.c | 160 const psa_key_attributes_t *attributes, in rsa_import_key() 252 const psa_key_attributes_t *attributes, in rsa_export_public_key() 307 const psa_key_attributes_t *attributes, in rsa_generate_key() 377 const psa_key_attributes_t *attributes, in rsa_sign_hash() 478 const psa_key_attributes_t *attributes, in rsa_verify_hash() 565 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_import_key() 576 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_export_public_key() 590 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_generate_key() 602 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_sign_hash() 615 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_verify_hash() [all …]
|
A D | psa_crypto_cipher.c | 157 const psa_key_attributes_t *attributes, in cipher_setup() 233 const psa_key_attributes_t *attributes, in cipher_encrypt_setup() 244 const psa_key_attributes_t *attributes, in cipher_decrypt_setup() 471 static psa_status_t cipher_encrypt( const psa_key_attributes_t *attributes, in cipher_encrypt() 524 static psa_status_t cipher_decrypt( const psa_key_attributes_t *attributes, in cipher_decrypt() 577 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_encrypt_setup() 587 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_decrypt_setup() 664 const psa_key_attributes_t *attributes, in mbedtls_transparent_test_driver_cipher_encrypt_setup() 674 const psa_key_attributes_t *attributes, in mbedtls_transparent_test_driver_cipher_decrypt_setup() 712 const psa_key_attributes_t *attributes, in mbedtls_transparent_test_driver_cipher_encrypt() [all …]
|
A D | psa_crypto_driver_wrappers.c | 72 const psa_key_attributes_t *attributes, in psa_driver_wrapper_sign_message() 147 const psa_key_attributes_t *attributes, in psa_driver_wrapper_verify_message() 218 const psa_key_attributes_t *attributes, in psa_driver_wrapper_sign_hash() 302 const psa_key_attributes_t *attributes, in psa_driver_wrapper_verify_hash() 396 const psa_key_attributes_t *attributes, in psa_driver_wrapper_get_key_buffer_size_from_key_data() 440 const psa_key_attributes_t *attributes, in psa_driver_wrapper_get_key_buffer_size() 476 const psa_key_attributes_t *attributes, in psa_driver_wrapper_generate_key() 548 const psa_key_attributes_t *attributes, in psa_driver_wrapper_import_key() 630 const psa_key_attributes_t *attributes, in psa_driver_wrapper_export_key() 764 psa_key_attributes_t *attributes, in psa_driver_wrapper_get_builtin_key() [all …]
|
A D | psa_crypto_mac.c | 167 const psa_key_attributes_t *attributes, in cmac_setup() 451 const psa_key_attributes_t *attributes, in mac_compute() 491 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_compute() 508 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_sign_setup() 519 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_verify_setup() 584 const psa_key_attributes_t *attributes, in mbedtls_transparent_test_driver_mac_compute() 604 const psa_key_attributes_t *attributes, in mbedtls_transparent_test_driver_mac_sign_setup() 618 const psa_key_attributes_t *attributes, in mbedtls_transparent_test_driver_mac_verify_setup() 671 const psa_key_attributes_t *attributes, in mbedtls_opaque_test_driver_mac_compute() 696 const psa_key_attributes_t *attributes, in mbedtls_opaque_test_driver_mac_sign_setup() [all …]
|
A D | psa_crypto_aead.c | 43 const psa_key_attributes_t *attributes, in psa_aead_setup() 140 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_encrypt() 251 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_decrypt() 342 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_encrypt_setup() 369 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_decrypt_setup()
|
A D | psa_crypto.c | 1137 psa_key_attributes_t *attributes ) in psa_get_rsa_public_exponent() 1329 psa_key_attributes_t attributes = { in psa_export_key() local 1435 psa_key_attributes_t attributes = { in psa_export_public_key() local 2358 psa_key_attributes_t attributes = { in psa_mac_setup() local 2545 psa_key_attributes_t attributes = { in psa_mac_compute_internal() local 2703 psa_key_attributes_t attributes = { in psa_sign_internal() local 2767 psa_key_attributes_t attributes = { in psa_verify_internal() local 3301 psa_key_attributes_t attributes = { in psa_cipher_setup() local 3540 psa_key_attributes_t attributes = { in psa_cipher_encrypt() local 3594 psa_key_attributes_t attributes = { in psa_cipher_decrypt() local [all …]
|
A D | psa_crypto_se.c | 195 const psa_key_attributes_t *attributes, in psa_find_se_slot_for_key()
|
A D | psa_crypto_slot_management.c | 282 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in psa_load_builtin_key_into_slot() local
|
A D | pkwrite.c | 266 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_write_pubkey_der() local
|
A D | pk.c | 157 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_setup_opaque() local
|
A D | pk_wrap.c | 562 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in ecdsa_verify_wrap() local 914 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in pk_opaque_get_bitlen() local
|
A D | cipher.c | 295 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_cipher_setkey() local
|
/mbedtls-development/tests/src/drivers/ |
A D | test_driver_signature.c | 47 const psa_key_attributes_t *attributes, in sign_hash() 112 const psa_key_attributes_t *attributes, in verify_hash() 170 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_sign_message() 214 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_sign_message() 238 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_verify_message() 269 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_verify_message() 291 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_sign_hash() 318 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_sign_hash() 338 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_verify_hash() 355 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_verify_hash()
|
A D | test_driver_key_management.c | 157 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_generate_key() 200 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_generate_key() 211 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_import_key() 267 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_import_key() 343 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_export_key() 422 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_export_public_key() 478 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_export_public_key() 570 psa_key_attributes_t *attributes, in mbedtls_test_opaque_get_builtin_key() 618 psa_key_attributes_t *attributes, in mbedtls_test_opaque_copy_key()
|
A D | test_driver_cipher.c | 39 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_encrypt() 76 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_decrypt() 112 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_encrypt_setup() 133 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_decrypt_setup() 242 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_encrypt() 261 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_decrypt() 281 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_encrypt_setup() 295 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_decrypt_setup()
|
A D | test_driver_mac.c | 31 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_compute() 62 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_sign_setup() 86 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_verify_setup() 195 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_compute() 226 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_sign_setup() 250 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_verify_setup()
|
A D | test_driver_aead.c | 32 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_encrypt() 63 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_decrypt() 95 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_encrypt_setup() 118 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_decrypt_setup()
|
/mbedtls-development/programs/psa/ |
A D | key_ladder_demo.c | 199 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in generate() local 227 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in import_key_from_file() local 275 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in derive_key_ladder() local 326 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in derive_wrapping_key() local 364 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in wrap_data() local 446 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in unwrap_data() local
|
A D | crypto_examples.c | 169 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local 219 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local 266 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in cipher_example_encrypt_decrypt_aes_ctr_multi() local
|
/mbedtls-development/tests/src/ |
A D | psa_exercise_key.c | 45 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in check_key_attributes_sanity() local 197 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_cipher_key() local 515 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_test_psa_key_agreement_with_self() local 557 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_test_psa_raw_key_agreement_with_self() local 797 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_export_key() local 840 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_export_public_key() local
|