Home
last modified time | relevance | path

Searched defs:attributes (Results 1 – 25 of 40) sorted by relevance

12

/mbedtls-latest/include/psa/
Dcrypto_struct.h335 static inline void psa_set_key_id(psa_key_attributes_t *attributes, in psa_set_key_id()
351 const psa_key_attributes_t *attributes) in psa_get_key_id()
357 static inline void mbedtls_set_key_owner_id(psa_key_attributes_t *attributes, in mbedtls_set_key_owner_id()
364 static inline void psa_set_key_lifetime(psa_key_attributes_t *attributes, in psa_set_key_lifetime()
378 const psa_key_attributes_t *attributes) in psa_get_key_lifetime()
394 static inline void psa_set_key_usage_flags(psa_key_attributes_t *attributes, in psa_set_key_usage_flags()
402 const psa_key_attributes_t *attributes) in psa_get_key_usage_flags()
407 static inline void psa_set_key_algorithm(psa_key_attributes_t *attributes, in psa_set_key_algorithm()
414 const psa_key_attributes_t *attributes) in psa_get_key_algorithm()
419 static inline void psa_set_key_type(psa_key_attributes_t *attributes, in psa_set_key_type()
[all …]
Dcrypto_compat.h181 psa_key_attributes_t *attributes, in psa_set_key_domain_parameters()
207 const psa_key_attributes_t *attributes, in psa_get_key_domain_parameters()
Dcrypto_extra.h69 psa_key_attributes_t *attributes, in psa_set_key_enrollment_algorithm()
82 const psa_key_attributes_t *attributes) in psa_get_key_enrollment_algorithm()
139 psa_key_attributes_t *attributes, in psa_set_key_slot_number()
153 psa_key_attributes_t *attributes) in psa_clear_key_slot_number()
/mbedtls-latest/tests/src/drivers/
Dtest_driver_signature.c42 const psa_key_attributes_t *attributes, in sign_hash()
110 const psa_key_attributes_t *attributes, in verify_hash()
176 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_sign_message()
232 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_sign_message()
256 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_verify_message()
299 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_verify_message()
321 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_sign_hash()
349 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_sign_hash()
369 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_verify_hash()
387 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_verify_hash()
Dtest_driver_key_management.c192 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_generate_key()
255 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_generate_key()
266 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_import_key()
348 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_import_key()
447 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_export_key()
531 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_export_public_key()
610 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_export_public_key()
719 psa_key_attributes_t *attributes, in mbedtls_test_opaque_get_builtin_key()
768 psa_key_attributes_t *attributes, in mbedtls_test_opaque_copy_key()
Dtest_driver_mac.c23 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_compute()
72 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_sign_setup()
109 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_verify_setup()
265 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_compute()
298 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_sign_setup()
322 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_verify_setup()
Dtest_driver_cipher.c31 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_encrypt()
84 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_decrypt()
132 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_encrypt_setup()
164 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_decrypt_setup()
317 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_encrypt()
339 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_decrypt()
359 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_encrypt_setup()
373 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_decrypt_setup()
Dtest_driver_asymmetric_encryption.c29 const psa_key_attributes_t *attributes, const uint8_t *key_buffer, in mbedtls_test_transparent_asymmetric_encrypt()
70 const psa_key_attributes_t *attributes, const uint8_t *key_buffer, in mbedtls_test_transparent_asymmetric_decrypt()
114 const psa_key_attributes_t *attributes, const uint8_t *key, in mbedtls_test_opaque_asymmetric_encrypt()
148 const psa_key_attributes_t *attributes, const uint8_t *key, in mbedtls_test_opaque_asymmetric_decrypt()
Dtest_driver_key_agreement.c32 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_key_agreement()
125 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_key_agreement()
Dtest_driver_aead.c26 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_encrypt()
82 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_decrypt()
139 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_encrypt_setup()
176 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_decrypt_setup()
/mbedtls-latest/3rdparty/p256-m/
Dp256-m_driver_entrypoints.c61 psa_status_t p256_transparent_import_key(const psa_key_attributes_t *attributes, in p256_transparent_import_key()
106 psa_status_t p256_transparent_export_public_key(const psa_key_attributes_t *attributes, in p256_transparent_export_public_key()
139 const psa_key_attributes_t *attributes, in p256_transparent_generate_key()
169 const psa_key_attributes_t *attributes, in p256_transparent_key_agreement()
204 const psa_key_attributes_t *attributes, in p256_transparent_sign_hash()
262 const psa_key_attributes_t *attributes, in p256_transparent_verify_hash()
/mbedtls-latest/library/
Dpsa_crypto_driver_wrappers.h157 const psa_key_attributes_t *attributes, in psa_driver_wrapper_sign_message()
247 const psa_key_attributes_t *attributes, in psa_driver_wrapper_verify_message()
331 const psa_key_attributes_t *attributes, in psa_driver_wrapper_sign_hash()
450 const psa_key_attributes_t *attributes, in psa_driver_wrapper_verify_hash()
615 const psa_key_attributes_t *attributes, const uint8_t *key_buffer, in psa_driver_wrapper_sign_hash_start()
709 const psa_key_attributes_t *attributes, const uint8_t *key_buffer, in psa_driver_wrapper_verify_hash_start()
811 const psa_key_attributes_t *attributes, in psa_driver_wrapper_get_key_buffer_size_from_key_data()
840 const psa_key_attributes_t *attributes, in psa_driver_wrapper_generate_key()
955 const psa_key_attributes_t *attributes, in psa_driver_wrapper_import_key()
1071 const psa_key_attributes_t *attributes, in psa_driver_wrapper_export_key()
[all …]
Dpsa_crypto_driver_wrappers_no_static.c116 const psa_key_attributes_t *attributes, in psa_driver_wrapper_get_key_buffer_size()
158 const psa_key_attributes_t *attributes, in psa_driver_wrapper_export_public_key()
273 psa_key_attributes_t *attributes, in psa_driver_wrapper_get_builtin_key()
Dpsa_crypto_ecp.c210 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_import_key()
291 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_export_public_key()
321 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_generate_key()
366 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_sign_hash()
452 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_verify_hash()
522 const psa_key_attributes_t *attributes, in mbedtls_psa_key_agreement_ecdh()
Dpsa_crypto_rsa.c110 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_import_key()
191 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_export_public_key()
241 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_generate_key()
317 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_sign_hash()
416 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_verify_hash()
515 psa_status_t mbedtls_psa_asymmetric_encrypt(const psa_key_attributes_t *attributes, in mbedtls_psa_asymmetric_encrypt()
609 psa_status_t mbedtls_psa_asymmetric_decrypt(const psa_key_attributes_t *attributes, in mbedtls_psa_asymmetric_decrypt()
Dpsa_crypto_mac.c158 const psa_key_attributes_t *attributes, in cmac_setup()
272 const psa_key_attributes_t *attributes, in psa_mac_setup()
321 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_sign_setup()
332 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_verify_setup()
456 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_compute()
Dpsa_crypto_ffdh.c144 const psa_key_attributes_t *attributes, in mbedtls_psa_ffdh_export_public_key()
202 const psa_key_attributes_t *attributes, in mbedtls_psa_ffdh_generate_key()
238 const psa_key_attributes_t *attributes, in mbedtls_psa_ffdh_import_key()
258 const psa_key_attributes_t *attributes, in mbedtls_psa_ffdh_key_agreement()
Dpsa_crypto_aead.c28 const psa_key_attributes_t *attributes, in psa_aead_setup()
118 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_encrypt()
230 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_decrypt()
323 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_encrypt_setup()
344 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_decrypt_setup()
Dpsa_crypto_client.c17 void psa_reset_key_attributes(psa_key_attributes_t *attributes) in psa_reset_key_attributes()
Dpsa_crypto_cipher.c284 const psa_key_attributes_t *attributes, in psa_cipher_setup()
362 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_encrypt_setup()
373 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_decrypt_setup()
605 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_encrypt()
663 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_decrypt()
Dpk.c160 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_setup_opaque() local
314 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_can_do_ext() local
402 psa_key_attributes_t *attributes) in mbedtls_pk_get_psa_attributes()
589 const psa_key_attributes_t *attributes, in export_import_into_psa()
606 const psa_key_attributes_t *attributes, in copy_into_psa()
642 const psa_key_attributes_t *attributes, in import_pair_into_psa()
736 const psa_key_attributes_t *attributes, in import_public_into_psa()
839 const psa_key_attributes_t *attributes, in mbedtls_pk_import_into_psa()
1158 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_verify_ext() local
/mbedtls-latest/tests/src/
Dpsa_crypto_stubs.c50 psa_key_attributes_t *attributes) in psa_get_key_attributes()
63 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, in psa_import_key()
Dpsa_exercise_key.c45 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in check_key_attributes_sanity() local
183 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_cipher_key() local
270 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_aead_key() local
638 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_test_psa_key_agreement_with_self() local
695 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_test_psa_raw_key_agreement_with_self() local
799 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_key_agreement_key() local
1009 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_export_key() local
1058 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_export_public_key() local
/mbedtls-latest/programs/psa/
Dkey_ladder_demo.c189 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in generate() local
217 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in import_key_from_file() local
266 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in derive_key_ladder() local
315 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in derive_wrapping_key() local
353 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in wrap_data() local
440 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in unwrap_data() local
Dcrypto_examples.c156 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local
206 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local
253 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in cipher_example_encrypt_decrypt_aes_ctr_multi() local

12