/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/ |
D | normalized_crypto.h | 27 typedef struct psa_key_attributes_s psa_key_attributes_t; typedef 29 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, const uint8_t *data, 36 void psa_set_key_id(psa_key_attributes_t *attributes, mbedtls_svc_key_id_t key); 37 void psa_set_key_bits(psa_key_attributes_t *attributes, size_t bits); 38 void psa_set_key_type(psa_key_attributes_t *attributes, psa_key_type_t type); 39 void psa_set_key_algorithm(psa_key_attributes_t *attributes, psa_algorithm_t alg); 40 void psa_set_key_lifetime(psa_key_attributes_t *attributes, psa_key_lifetime_t lifetime); 42 void psa_set_key_usage_flags(psa_key_attributes_t *attributes, psa_key_usage_t usage_flags);
|
D | main.c | 43 FAKE_VALUE_FUNC(psa_status_t, psa_import_key, psa_key_attributes_t *, uint8_t *, size_t, 46 FAKE_VOID_FUNC(psa_set_key_id, psa_key_attributes_t *, uint32_t); 47 FAKE_VOID_FUNC(psa_set_key_usage_flags, psa_key_attributes_t *, psa_key_usage_t); 48 FAKE_VOID_FUNC(psa_set_key_lifetime, psa_key_attributes_t *, psa_key_lifetime_t); 49 FAKE_VOID_FUNC(psa_set_key_algorithm, psa_key_attributes_t *, psa_algorithm_t); 50 FAKE_VOID_FUNC(psa_set_key_type, psa_key_attributes_t *, psa_key_type_t); 51 FAKE_VOID_FUNC(psa_set_key_bits, psa_key_attributes_t *, size_t); 84 static void custom_psa_set_key_id(psa_key_attributes_t *attributes, mbedtls_svc_key_id_t key) in custom_psa_set_key_id() 89 void custom_psa_set_key_bits(psa_key_attributes_t *attributes, size_t bits) in custom_psa_set_key_bits() 94 void custom_psa_set_key_type(psa_key_attributes_t *attributes, psa_key_type_t type) in custom_psa_set_key_type() [all …]
|
/Zephyr-latest/tests/subsys/secure_storage/psa/crypto/src/ |
D | main.c | 17 static void fill_key_attributes(psa_key_attributes_t *key_attributes) in fill_key_attributes() 36 psa_key_attributes_t key_attributes; in ZTEST() 37 psa_key_attributes_t retrieved_key_attributes; in ZTEST() 89 psa_key_attributes_t key_attributes; in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/crypto/mocks/ |
D | aes.c | 12 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *,
|
D | aes.h | 21 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *,
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | crypto_psa.c | 63 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in bt_encrypt_le() 114 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in bt_encrypt_be()
|
D | hci_ecc.c | 97 static void set_key_attributes(psa_key_attributes_t *attr) in set_key_attributes() 107 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in generate_keys() 193 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in emulate_le_generate_dhkey()
|
D | ecc.c | 48 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in bt_pub_key_is_valid()
|
D | gatt.c | 705 psa_key_attributes_t key_attr = PSA_KEY_ATTRIBUTES_INIT; in db_hash_setup()
|
/Zephyr-latest/subsys/bluetooth/crypto/ |
D | bt_crypto_psa.c | 22 psa_key_attributes_t key_attr = PSA_KEY_ATTRIBUTES_INIT; in bt_crypto_aes_cmac()
|
/Zephyr-latest/modules/openthread/platform/ |
D | crypto_psa.c | 140 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoImportKey() 211 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoHasKey() 426 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoEcdsaGenerateKey() 459 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoEcdsaSign() 492 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoEcdsaVerify() 584 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoEcdsaGenerateAndImportKey() 616 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoPbkdf2GenerateKey()
|
/Zephyr-latest/subsys/jwt/ |
D | jwt_psa.c | 21 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in jwt_sign_impl()
|
/Zephyr-latest/subsys/secure_storage/src/its/transform/ |
D | aead.c | 17 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in psa_aead_crypt() 21 psa_status_t (*aead_crypt)(const psa_key_attributes_t *attributes, const uint8_t *key, in psa_aead_crypt()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | crypto_psa.c | 183 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_sha256_hmac_raw_key() 240 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_pub_key_gen() 305 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_dhkey_gen() 388 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_key_import()
|
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | wifi_credentials_backend_psa.c | 46 psa_key_attributes_t key_attributes = {0}; in wifi_credentials_store_entry()
|
/Zephyr-latest/samples/psa/persistent_key/src/ |
D | main.c | 19 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in generate_persistent_key()
|
/Zephyr-latest/tests/crypto/secp256r1/src/ |
D | main.c | 53 psa_key_attributes_t key_attr = PSA_KEY_ATTRIBUTES_INIT; in ZTEST_USER()
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/ |
D | psa_crypto.c | 115 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in crp_imp_key_secp256r1() 227 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in crp_gen_key_secp256r1() 443 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in crp_generate_csr()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_provision.c | 436 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in generate_oob_key_pair()
|