Home
last modified time | relevance | path

Searched refs:psa_import_key (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/bluetooth/host/crypto/mocks/
Daes.h15 FAKE(psa_import_key) \
21 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *,
Daes.c12 DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_import_key, const psa_key_attributes_t *, const uint8_t *,
/Zephyr-latest/subsys/bluetooth/host/
Dcrypto_psa.c82 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()
Decc.c63 ret = psa_import_key(&attr, key_be, sizeof(key_be), &handle); in bt_pub_key_is_valid()
Dhci_ecc.c203 if (psa_import_key(&attr, use_debug ? debug_private_key_be : ecc.private_key_be, in emulate_le_generate_dhkey()
Dgatt.c712 if (psa_import_key(&key_attr, key, 16, &(state->key)) != PSA_SUCCESS) { in db_hash_setup()
/Zephyr-latest/subsys/bluetooth/crypto/
Dbt_crypto_psa.c32 status = psa_import_key(&key_attr, key, 16, &key_id); in bt_crypto_aes_cmac()
/Zephyr-latest/subsys/jwt/
Djwt_psa.c38 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/
Dnormalized_crypto.h29 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, const uint8_t *data,
Dmain.c43 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/
Dwifi_credentials_backend_psa.c56 ret = psa_import_key(&key_attributes, buf, buf_len, &key_id); in wifi_credentials_store_entry()
/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c188 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/
Dcrypto_psa.c196 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/
Dmain.c95 ret = psa_import_key(&key_attributes, key_material, sizeof(key_material), &key_id); in ZTEST()
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c137 psa_import_key(&key_attributes, key_data, key_len, &key_handle), in crp_imp_key_secp256r1()