Searched refs:psa_import_key (Results 1 – 15 of 15) sorted by relevance
/Zephyr-latest/tests/bluetooth/host/crypto/mocks/ |
D | aes.h | 15 FAKE(psa_import_key) \ 21 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *,
|
D | aes.c | 12 DEFINE_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 | 82 if (psa_import_key(&attr, tmp, 16, &key_id) != PSA_SUCCESS) { in bt_encrypt_le() 130 if (psa_import_key(&attr, key, 16, &key_id) != PSA_SUCCESS) { in bt_encrypt_be()
|
D | ecc.c | 63 ret = psa_import_key(&attr, key_be, sizeof(key_be), &handle); in bt_pub_key_is_valid()
|
D | hci_ecc.c | 203 if (psa_import_key(&attr, use_debug ? debug_private_key_be : ecc.private_key_be, in emulate_le_generate_dhkey()
|
D | gatt.c | 712 if (psa_import_key(&key_attr, key, 16, &(state->key)) != PSA_SUCCESS) { in db_hash_setup()
|
/Zephyr-latest/subsys/bluetooth/crypto/ |
D | bt_crypto_psa.c | 32 status = psa_import_key(&key_attr, key, 16, &key_id); in bt_crypto_aes_cmac()
|
/Zephyr-latest/subsys/jwt/ |
D | jwt_psa.c | 38 status = psa_import_key(&attr, der_key, der_key_len, &key_id); in jwt_sign_impl()
|
/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,
|
D | main.c | 43 FAKE_VALUE_FUNC(psa_status_t, psa_import_key, psa_key_attributes_t *, uint8_t *, size_t, 118 RESET_FAKE(psa_import_key); in wifi_credentials_backend_psa_setup()
|
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | wifi_credentials_backend_psa.c | 56 ret = psa_import_key(&key_attributes, buf, buf_len, &key_id); in wifi_credentials_store_entry()
|
/Zephyr-latest/modules/openthread/platform/ |
D | crypto_psa.c | 188 status = psa_import_key(&attributes, aKey, aKeyLen, aKeyRef); in otPlatCryptoImportKey() 469 status = psa_import_key(&attributes, aKeyPair->mDerBytes, aKeyPair->mDerLength, &key_id); in otPlatCryptoEcdsaSign() 508 status = psa_import_key(&attributes, buffer, sizeof(buffer), &key_id); in otPlatCryptoEcdsaVerify() 626 status = psa_import_key(&attributes, aPassword, aPasswordLen, &key_id); in otPlatCryptoPbkdf2GenerateKey()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | crypto_psa.c | 196 status = psa_import_key(&attributes, key, 32, &key_id); in bt_mesh_sha256_hmac_raw_key() 314 status = psa_import_key(&attributes, priv_key, PRIV_KEY_SIZE, &priv_key_id); in bt_mesh_dhkey_gen() 453 status = psa_import_key(&key_attributes, in, 16, &out->key); in bt_mesh_key_import()
|
/Zephyr-latest/tests/subsys/secure_storage/psa/crypto/src/ |
D | main.c | 95 ret = psa_import_key(&key_attributes, key_material, sizeof(key_material), &key_id); in ZTEST()
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/ |
D | psa_crypto.c | 137 psa_import_key(&key_attributes, key_data, key_len, &key_handle), in crp_imp_key_secp256r1()
|