| /device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/include/psa/ |
| 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() 382 static inline void mbedtls_set_key_owner_id( psa_key_attributes_t *attributes, in mbedtls_set_key_owner_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() 418 static inline void psa_set_key_usage_flags(psa_key_attributes_t *attributes, in psa_set_key_usage_flags() 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() [all …]
|
| D | crypto_extra.h | 73 psa_key_attributes_t *attributes, in psa_set_key_enrollment_algorithm() 86 const psa_key_attributes_t *attributes) in psa_get_key_enrollment_algorithm() 143 psa_key_attributes_t *attributes, in psa_set_key_slot_number() 157 psa_key_attributes_t *attributes ) in psa_clear_key_slot_number()
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/tests/src/drivers/ |
| D | test_driver_signature.c | 55 const psa_key_attributes_t *attributes, in sign_hash() 132 const psa_key_attributes_t *attributes, in verify_hash() 207 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_sign_message() 261 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_sign_message() 285 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_verify_message() 326 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_verify_message() 348 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_sign_hash() 375 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_sign_hash() 395 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_signature_verify_hash() 412 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_signature_verify_hash()
|
| D | test_driver_key_management.c | 193 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_generate_key() 243 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_generate_key() 254 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_import_key() 321 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_import_key() 415 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_export_key() 494 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_export_public_key() 559 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_export_public_key() 672 psa_key_attributes_t *attributes, in mbedtls_test_opaque_get_builtin_key() 720 psa_key_attributes_t *attributes, in mbedtls_test_opaque_copy_key()
|
| D | test_driver_cipher.c | 43 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_encrypt() 91 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_decrypt() 138 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_encrypt_setup() 169 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_cipher_decrypt_setup() 314 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_encrypt() 336 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_decrypt() 356 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_encrypt_setup() 370 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_cipher_decrypt_setup()
|
| D | test_driver_mac.c | 35 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_compute() 87 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_sign_setup() 127 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_mac_verify_setup() 298 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_compute() 334 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_sign_setup() 361 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_mac_verify_setup()
|
| D | test_driver_aead.c | 32 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_encrypt() 80 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_decrypt() 129 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_encrypt_setup() 161 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_aead_decrypt_setup()
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/library/ |
| D | psa_crypto_driver_wrappers.c | 110 const psa_key_attributes_t *attributes, in psa_driver_wrapper_sign_message() 185 const psa_key_attributes_t *attributes, in psa_driver_wrapper_verify_message() 256 const psa_key_attributes_t *attributes, in psa_driver_wrapper_sign_hash() 340 const psa_key_attributes_t *attributes, in psa_driver_wrapper_verify_hash() 434 const psa_key_attributes_t *attributes, in psa_driver_wrapper_get_key_buffer_size_from_key_data() 478 const psa_key_attributes_t *attributes, in psa_driver_wrapper_get_key_buffer_size() 514 const psa_key_attributes_t *attributes, in psa_driver_wrapper_generate_key() 586 const psa_key_attributes_t *attributes, in psa_driver_wrapper_import_key() 668 const psa_key_attributes_t *attributes, in psa_driver_wrapper_export_key() 726 const psa_key_attributes_t *attributes, in psa_driver_wrapper_export_public_key() [all …]
|
| 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()
|
| D | psa_crypto_ecp.c | 168 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_import_key() 259 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_export_public_key() 287 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_generate_key() 337 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_sign_hash() 411 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_verify_hash()
|
| D | psa_crypto_mac.c | 156 const psa_key_attributes_t *attributes, in cmac_setup() 276 const psa_key_attributes_t *attributes, in psa_mac_setup() 326 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_sign_setup() 337 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_verify_setup() 461 const psa_key_attributes_t *attributes, in mbedtls_psa_mac_compute()
|
| D | psa_crypto_cipher.c | 133 const psa_key_attributes_t *attributes, in psa_cipher_setup() 210 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_encrypt_setup() 221 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_decrypt_setup() 448 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_encrypt() 502 const psa_key_attributes_t *attributes, in mbedtls_psa_cipher_decrypt()
|
| D | psa_crypto_rsa.c | 134 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_import_key() 226 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_export_public_key() 281 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_generate_key() 352 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_sign_hash() 453 const psa_key_attributes_t *attributes, in mbedtls_psa_rsa_verify_hash()
|
| D | psa_crypto_aead.c | 43 const psa_key_attributes_t *attributes, in psa_aead_setup() 142 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_encrypt() 258 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_decrypt() 354 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_encrypt_setup() 374 const psa_key_attributes_t *attributes, in mbedtls_psa_aead_decrypt_setup()
|
| D | psa_crypto.c | 550 const psa_key_attributes_t *attributes, in psa_import_key_into_slot() 1134 psa_key_attributes_t *attributes ) in psa_get_rsa_public_exponent() 1177 psa_key_attributes_t *attributes ) in psa_get_key_attributes() 1244 const psa_key_attributes_t *attributes, in psa_get_key_slot_number() 1273 const psa_key_attributes_t *attributes, in psa_export_key_internal() 1326 psa_key_attributes_t attributes = { in psa_export_key() local 1339 const psa_key_attributes_t *attributes, in psa_export_public_key_internal() 1432 psa_key_attributes_t attributes = { in psa_export_public_key() local 1491 const psa_key_attributes_t *attributes, in psa_validate_key_attributes() 1567 const psa_key_attributes_t *attributes, in psa_start_key_creation() [all …]
|
| D | psa_crypto_se.c | 195 const psa_key_attributes_t *attributes, in psa_find_se_slot_for_key()
|
| D | psa_crypto_slot_management.c | 282 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in psa_load_builtin_key_into_slot() local
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/programs/psa/ |
| 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
|
| 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
|
| /device/soc/hisilicon/ws63v100/sdk/middleware/utils/nv/nv_storage_lib/ |
| D | nv_store.c | 123 …_store_get_key_attr(kv_store_t store, kv_key_id key_id, uint16_t *len, kv_attributes_t *attributes) in kv_store_get_key_attr() 139 errcode_t kv_store_get_backup_key_attr(kv_key_id key_id, uint16_t *len, kv_attributes_t *attributes, in kv_store_get_backup_key_attr() 176 kv_attributes_t *attributes) in kv_store_read_backup_key() 204 kv_attributes_t *attributes) in kv_store_get_key() 228 …_store_get_backup_key(kv_key_id key_id, kv_store_key_data_t *key_data, kv_attributes_t *attributes, in kv_store_get_backup_key()
|
| D | nv_key.c | 702 const kv_attributes_t attributes = kv_key_attributes(key); in kv_key_validate_hash_chunks() local 834 kv_attributes_t attributes = 0; in kv_key_attributes() local 850 uint16_t kv_key_padded_data_length(kv_attributes_t attributes, uint16_t unpadded_length) in kv_key_padded_data_length() 864 kv_attributes_t attributes; in kv_key_flash_size() local
|
| D | nv_update.c | 422 kv_attributes_t attributes = (source_buffer->encrypt_data) ? KV_ATTRIBUTE_ENCRYPTED : 0; in prime_next_chunk() local 644 kv_attributes_t attributes = kv_key_attributes(&g_current_key); in kv_update_action_prepare_delete_key() local 1026 kv_attributes_t attributes = kv_key_attributes(&g_current_key); in kv_update_helper_check_for_key_updates() local 1099 kv_attributes_t attributes = kv_key_attributes(¤t_key); in kv_update_helper_get_current_key() local 1230 kv_attributes_t attributes = kv_key_attributes(&g_current_key); in kv_update_action_update_nvmap_for_erase_key() local
|
| D | nv_rpc.c | 96 …c_remote_cmd_kv_store_get_key_attr(cores core, uint16_t key_id, uint16_t *len, uint8_t *attributes) in uapi_rpc_remote_cmd_kv_store_get_key_attr()
|
| D | nv_upg.c | 131 uint8_t attributes; in kv_upg_upgrade_key_helper() local
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/tests/src/ |
| D | psa_exercise_key.c | 46 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in check_key_attributes_sanity() local 198 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_cipher_key() local 516 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_test_psa_key_agreement_with_self() local 558 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_test_psa_raw_key_agreement_with_self() local 798 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_export_key() local 841 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in exercise_export_public_key() local
|