Home
last modified time | relevance | path

Searched refs:public_key_repr (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto_psa.c300 uint8_t public_key_repr[PUB_KEY_SIZE + 1]; in bt_mesh_dhkey_gen() local
331 public_key_repr[0] = 0x04; in bt_mesh_dhkey_gen()
332 memcpy(public_key_repr + 1, pub_key, PUB_KEY_SIZE); in bt_mesh_dhkey_gen()
335 status = psa_raw_key_agreement(PSA_ALG_ECDH, priv_key_id, public_key_repr, in bt_mesh_dhkey_gen()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_provision.c440 uint8_t public_key_repr[PSA_KEY_EXPORT_ECC_PUBLIC_KEY_MAX_SIZE(256)]; in generate_oob_key_pair() local
455 status = psa_export_public_key(priv_key_id, public_key_repr, sizeof(public_key_repr), in generate_oob_key_pair()
466 memcpy(public_key_be, public_key_repr + 1, 64); in generate_oob_key_pair()