Home
last modified time | relevance | path

Searched refs:remote_pk (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/
Decc.c169 static int hci_generate_dhkey_v1(const uint8_t *remote_pk) in hci_generate_dhkey_v1() argument
180 memcpy(cp->key, remote_pk, sizeof(cp->key)); in hci_generate_dhkey_v1()
185 static int hci_generate_dhkey_v2(const uint8_t *remote_pk, uint8_t key_type) in hci_generate_dhkey_v2() argument
196 memcpy(cp->key, remote_pk, sizeof(cp->key)); in hci_generate_dhkey_v2()
202 int bt_dh_key_gen(const uint8_t remote_pk[BT_PUB_KEY_LEN], bt_dh_key_cb_t cb) in bt_dh_key_gen()
222 err = hci_generate_dhkey_v2(remote_pk, in bt_dh_key_gen()
225 err = hci_generate_dhkey_v1(remote_pk); in bt_dh_key_gen()
Decc.h104 int bt_dh_key_gen(const uint8_t remote_pk[BT_PUB_KEY_LEN], bt_dh_key_cb_t cb);
/Zephyr-latest/subsys/bluetooth/mesh/
Dprovisioner.c419 const uint8_t *remote_pk; in prov_dh_key_gen() local
423 remote_pk = bt_mesh_prov_link.conf_inputs.pub_key_device; in prov_dh_key_gen()
425 if (!memcmp(local_pk, remote_pk, PUB_KEY_SIZE)) { in prov_dh_key_gen()
431 if (bt_mesh_dhkey_gen(remote_pk, NULL, bt_mesh_prov_link.dhkey)) { in prov_dh_key_gen()