/Zephyr-latest/subsys/secure_storage/include/psa/ |
D | error.h | 13 typedef int32_t psa_status_t; typedef 15 #define PSA_SUCCESS ((psa_status_t)0) 17 #define PSA_ERROR_GENERIC_ERROR ((psa_status_t)-132) 18 #define PSA_ERROR_NOT_PERMITTED ((psa_status_t)-133) 19 #define PSA_ERROR_NOT_SUPPORTED ((psa_status_t)-134) 20 #define PSA_ERROR_INVALID_ARGUMENT ((psa_status_t)-135) 21 #define PSA_ERROR_ALREADY_EXISTS ((psa_status_t)-139) 22 #define PSA_ERROR_DOES_NOT_EXIST ((psa_status_t)-140) 23 #define PSA_ERROR_INSUFFICIENT_STORAGE ((psa_status_t)-142) 24 #define PSA_ERROR_STORAGE_FAILURE ((psa_status_t)-146) [all …]
|
D | protected_storage.h | 49 psa_status_t psa_ps_set(psa_storage_uid_t uid, size_t data_length, in psa_ps_set() 82 psa_status_t psa_ps_get(psa_storage_uid_t uid, size_t data_offset, in psa_ps_get() 110 psa_status_t psa_ps_get_info(psa_storage_uid_t uid, struct psa_storage_info_t *p_info) in psa_ps_get_info() 138 psa_status_t psa_ps_remove(psa_storage_uid_t uid) in psa_ps_remove() 172 psa_status_t psa_ps_create(psa_storage_uid_t uid, size_t capacity, in psa_ps_create() 210 psa_status_t psa_ps_set_extended(psa_storage_uid_t uid, size_t data_offset, in psa_ps_set_extended()
|
D | internal_trusted_storage.h | 50 psa_status_t psa_its_set(psa_storage_uid_t uid, size_t data_length, in psa_its_set() 76 psa_status_t psa_its_get(psa_storage_uid_t uid, size_t data_offset, in psa_its_get() 97 psa_status_t psa_its_get_info(psa_storage_uid_t uid, struct psa_storage_info_t *p_info) in psa_its_get_info() 118 psa_status_t psa_its_remove(psa_storage_uid_t uid) in psa_its_remove()
|
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/ |
D | ps.h | 17 psa_status_t secure_storage_ps_set(const psa_storage_uid_t uid, size_t data_length, 21 psa_status_t secure_storage_ps_get(const psa_storage_uid_t uid, size_t data_offset, 25 psa_status_t secure_storage_ps_get_info(const psa_storage_uid_t uid, 29 psa_status_t secure_storage_ps_remove(const psa_storage_uid_t uid); 32 psa_status_t secure_storage_ps_create(psa_storage_uid_t uid, size_t capacity, 36 psa_status_t secure_storage_ps_set_extended(psa_storage_uid_t uid, size_t data_offset,
|
D | its.h | 17 psa_status_t secure_storage_its_set(secure_storage_its_uid_t uid, size_t data_length, 21 psa_status_t secure_storage_its_get(secure_storage_its_uid_t uid, size_t data_offset, 25 psa_status_t secure_storage_its_get_info(secure_storage_its_uid_t uid, 29 psa_status_t secure_storage_its_remove(secure_storage_its_uid_t uid);
|
/Zephyr-latest/tests/bluetooth/host/crypto/mocks/ |
D | aes.c | 10 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_crypto_init); 11 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_generate_random, uint8_t *, size_t); 12 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *, 14 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_cipher_encrypt, mbedtls_svc_key_id_t, psa_algorithm_t, 16 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_destroy_key, mbedtls_svc_key_id_t);
|
D | aes.h | 19 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_crypto_init); 20 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_generate_random, uint8_t *, size_t); 21 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *, 23 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_cipher_encrypt, mbedtls_svc_key_id_t, psa_algorithm_t, 25 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_destroy_key, mbedtls_svc_key_id_t);
|
D | prng.c | 10 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_crypto_init); 11 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_generate_random, uint8_t *, size_t);
|
D | prng.h | 16 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_crypto_init); 17 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_generate_random, uint8_t *, size_t);
|
/Zephyr-latest/subsys/secure_storage/src/its/ |
D | implementation.c | 14 static void log_failed_operation(const char *operation, const char *preposition, psa_status_t ret) in log_failed_operation() 19 static psa_status_t get_stored_data( in get_stored_data() 24 psa_status_t ret; in get_stored_data() 37 static psa_status_t transform_stored_data( in transform_stored_data() 43 psa_status_t ret; in transform_stored_data() 54 static psa_status_t get_entry(secure_storage_its_uid_t uid, size_t data_size, uint8_t *data, in get_entry() 57 psa_status_t ret; in get_entry() 71 psa_storage_create_flags_t create_flags, psa_status_t *ret) in keep_stored_entry() 99 static psa_status_t store_entry(secure_storage_its_uid_t uid, size_t data_length, in store_entry() 102 psa_status_t ret; in store_entry() [all …]
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/ |
D | psa_attestation.c | 18 psa_status_t att_get_pub_key(void) in att_get_pub_key() 20 psa_status_t err = PSA_SUCCESS; in att_get_pub_key() 28 psa_status_t att_get_iat(uint8_t *ch_buffer, uint32_t ch_sz, in att_get_iat() 31 psa_status_t err = PSA_SUCCESS; in att_get_iat() 95 psa_status_t att_test(void) in att_test() 97 psa_status_t err = PSA_SUCCESS; in att_test()
|
D | psa_attestation.h | 25 psa_status_t att_get_pub_key(void); 53 psa_status_t att_get_iat(uint8_t *ch_buffer, uint32_t ch_sz, 61 psa_status_t att_test(void);
|
D | util_app_cfg.c | 30 psa_status_t cfg_create_data(void) in cfg_create_data() 32 psa_status_t status; in cfg_create_data() 55 psa_status_t cfg_load_data(struct cfg_data *p_cfg_data) in cfg_load_data() 57 psa_status_t status; in cfg_load_data()
|
D | util_app_log.h | 26 psa_status_t al_psa_status(psa_status_t status, const char *func_name);
|
D | util_app_cfg.h | 47 psa_status_t cfg_create_data(void); 59 psa_status_t cfg_load_data(struct cfg_data *p_cfg_data);
|
D | psa_crypto.c | 49 static psa_status_t crp_get_pub_key(psa_key_id_t key_id, in crp_get_pub_key() 53 psa_status_t status; in crp_get_pub_key() 110 static psa_status_t crp_imp_key_secp256r1(psa_key_id_t key_id, in crp_imp_key_secp256r1() 114 psa_status_t status = PSA_SUCCESS; in crp_imp_key_secp256r1() 223 static psa_status_t crp_gen_key_secp256r1(psa_key_id_t key_id, in crp_gen_key_secp256r1() 226 psa_status_t status = PSA_SUCCESS; in crp_gen_key_secp256r1() 335 psa_status_t status; in crp_generate_csr() 539 static psa_status_t crp_hash_payload(uint8_t *msg, size_t msg_len, in crp_hash_payload() 543 psa_status_t status; in crp_hash_payload() 600 static psa_status_t crp_sign_hash(psa_key_id_t key_id, in crp_sign_hash() [all …]
|
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/its/ |
D | store.h | 24 psa_status_t secure_storage_its_store_set(secure_storage_its_uid_t uid, 37 psa_status_t secure_storage_its_store_get(secure_storage_its_uid_t uid, size_t data_size, 46 psa_status_t secure_storage_its_store_remove(secure_storage_its_uid_t uid);
|
/Zephyr-latest/subsys/secure_storage/src/its/transform/ |
D | aead_get.c | 35 static psa_status_t hash_data_into_key( in hash_data_into_key() 47 const psa_status_t ret = psa_hash_compute(PSA_ALG_SHA_256, data, data_len, hash_output, in hash_data_into_key() 62 psa_status_t secure_storage_its_transform_aead_get_key( in secure_storage_its_transform_aead_get_key() 66 psa_status_t ret; in secure_storage_its_transform_aead_get_key() 94 psa_status_t secure_storage_its_transform_aead_get_key( in secure_storage_its_transform_aead_get_key() 119 psa_status_t secure_storage_its_transform_aead_get_nonce( in secure_storage_its_transform_aead_get_nonce() 122 psa_status_t ret; in secure_storage_its_transform_aead_get_nonce()
|
D | aead.c | 9 static psa_status_t psa_aead_crypt(psa_key_usage_t operation, secure_storage_its_uid_t uid, in psa_aead_crypt() 16 psa_status_t ret; in psa_aead_crypt() 21 psa_status_t (*aead_crypt)(const psa_key_attributes_t *attributes, const uint8_t *key, in psa_aead_crypt() 81 psa_status_t secure_storage_its_transform_to_store( in secure_storage_its_transform_to_store() 87 psa_status_t ret; in secure_storage_its_transform_to_store() 108 psa_status_t secure_storage_its_transform_from_store( in secure_storage_its_transform_from_store() 118 psa_status_t ret; in secure_storage_its_transform_from_store()
|
/Zephyr-latest/samples/tfm_integration/tfm_secure_partition/dummy_partition/ |
D | dummy_partition.c | 31 static psa_status_t tfm_dp_secret_digest(uint32_t secret_index, in tfm_dp_secret_digest() 36 psa_status_t status; in tfm_dp_secret_digest() 64 typedef psa_status_t (*dp_func_t)(psa_msg_t *); 72 static psa_status_t tfm_dp_secret_digest_ipc(psa_msg_t *msg) in tfm_dp_secret_digest_ipc() 94 psa_status_t status; in dp_signal_handle() 114 psa_status_t tfm_dp_req_mngr_init(void) in tfm_dp_req_mngr_init()
|
/Zephyr-latest/samples/tfm_integration/tfm_secure_partition/src/ |
D | dummy_partition.c | 15 psa_status_t dp_secret_digest(uint32_t secret_index, in dp_secret_digest() 19 psa_status_t status; in dp_secret_digest() 44 psa_status_t dp_secret_digest(uint32_t secret_index, in dp_secret_digest() 48 psa_status_t status; in dp_secret_digest()
|
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/ |
D | normalized_crypto.h | 29 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, const uint8_t *data, 32 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, uint8_t *data, size_t data_size, 35 psa_status_t psa_destroy_key(mbedtls_svc_key_id_t key); 41 psa_status_t psa_destroy_key(mbedtls_svc_key_id_t key);
|
/Zephyr-latest/subsys/secure_storage/src/its/store/ |
D | zms.c | 60 psa_status_t secure_storage_its_store_set(secure_storage_its_uid_t uid, in secure_storage_its_store_set() 63 psa_status_t psa_ret; in secure_storage_its_store_set() 84 psa_status_t secure_storage_its_store_get(secure_storage_its_uid_t uid, size_t data_size, in secure_storage_its_store_get() 87 psa_status_t psa_ret; in secure_storage_its_store_get() 109 psa_status_t secure_storage_its_store_remove(secure_storage_its_uid_t uid) in secure_storage_its_store_remove()
|
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/its/transform/ |
D | aead_get.h | 32 psa_status_t secure_storage_its_transform_aead_get_key( 42 psa_status_t secure_storage_its_transform_aead_get_nonce(
|
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | wifi_credentials_backend_psa.c | 24 psa_status_t ret; in wifi_credentials_backend_init() 45 psa_status_t ret; in wifi_credentials_store_entry() 70 psa_status_t ret = psa_destroy_key(idx + WIFI_CREDENTIALS_BACKEND_PSA_KEY_ID_USER_MIN); in wifi_credentials_delete_entry() 84 psa_status_t ret; in wifi_credentials_load_entry()
|