Home
last modified time | relevance | path

Searched refs:psa_key_attributes_t (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/
Dnormalized_crypto.h27 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);
Dmain.c43 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/
Dmain.c17 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/
Daes.c12 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *,
Daes.h21 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *,
/Zephyr-latest/subsys/bluetooth/host/
Dcrypto_psa.c63 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()
Dhci_ecc.c97 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()
Decc.c48 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in bt_pub_key_is_valid()
Dgatt.c705 psa_key_attributes_t key_attr = PSA_KEY_ATTRIBUTES_INIT; in db_hash_setup()
/Zephyr-latest/subsys/bluetooth/crypto/
Dbt_crypto_psa.c22 psa_key_attributes_t key_attr = PSA_KEY_ATTRIBUTES_INIT; in bt_crypto_aes_cmac()
/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c140 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/
Djwt_psa.c21 psa_key_attributes_t attr = PSA_KEY_ATTRIBUTES_INIT; in jwt_sign_impl()
/Zephyr-latest/subsys/secure_storage/src/its/transform/
Daead.c17 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/
Dcrypto_psa.c183 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/
Dwifi_credentials_backend_psa.c46 psa_key_attributes_t key_attributes = {0}; in wifi_credentials_store_entry()
/Zephyr-latest/samples/psa/persistent_key/src/
Dmain.c19 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in generate_persistent_key()
/Zephyr-latest/tests/crypto/secp256r1/src/
Dmain.c53 psa_key_attributes_t key_attr = PSA_KEY_ATTRIBUTES_INIT; in ZTEST_USER()
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c115 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/
Dtest_provision.c436 psa_key_attributes_t key_attributes = PSA_KEY_ATTRIBUTES_INIT; in generate_oob_key_pair()