Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dcrypto_psa.c299 uint8_t public_key_repr[PUB_KEY_SIZE + 1]; in bt_mesh_dhkey_gen() local
330 public_key_repr[0] = 0x04; in bt_mesh_dhkey_gen()
331 memcpy(public_key_repr + 1, pub_key, PUB_KEY_SIZE); in bt_mesh_dhkey_gen()
334 status = psa_raw_key_agreement(PSA_ALG_ECDH, priv_key_id, public_key_repr, in bt_mesh_dhkey_gen()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_provision.c449 uint8_t public_key_repr[PSA_KEY_EXPORT_ECC_PUBLIC_KEY_MAX_SIZE(256)]; in generate_oob_key_pair() local
464 status = psa_export_public_key(priv_key_id, public_key_repr, sizeof(public_key_repr), in generate_oob_key_pair()
475 memcpy(public_key_be, public_key_repr + 1, 64); in generate_oob_key_pair()