Searched refs:public_key_be (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_ecc.c | 69 uint8_t public_key_be[BT_PUB_KEY_LEN]; member 128 memcpy(ecc.public_key_be, &tmp_pub_key_buf[1], BT_PUB_KEY_LEN); in generate_keys() 174 sys_memcpy_swap(evt->key, ecc.public_key_be, BT_PUB_KEY_COORD_LEN); in emulate_le_p256_public_key_cmd() 176 &ecc.public_key_be[BT_PUB_KEY_COORD_LEN], BT_PUB_KEY_COORD_LEN); in emulate_le_p256_public_key_cmd() 210 memcpy(&tmp_pub_key_buf[1], ecc.public_key_be, BT_PUB_KEY_LEN); in emulate_le_generate_dhkey() 294 sys_memcpy_swap(ecc.public_key_be, key, BT_PUB_KEY_COORD_LEN); in le_gen_dhkey() 295 sys_memcpy_swap(&ecc.public_key_be[BT_PUB_KEY_COORD_LEN], &key[BT_PUB_KEY_COORD_LEN], in le_gen_dhkey()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | crypto_tc.c | 33 uint8_t public_key_be[PUB_KEY_SIZE]; member 113 int rc = uECC_make_key(dh_pair.public_key_be, in bt_mesh_pub_key_gen() 130 return dh_pair.is_ready ? dh_pair.public_key_be : NULL; in bt_mesh_pub_key_get()
|
D | crypto_psa.c | 46 uint8_t public_key_be[PUB_KEY_SIZE + 1]; member 264 status = psa_export_public_key(dh_pair.priv_key_id, dh_pair.public_key_be, in bt_mesh_pub_key_gen() 265 sizeof(dh_pair.public_key_be), &key_len); in bt_mesh_pub_key_gen() 286 return dh_pair.is_ready ? dh_pair.public_key_be + 1 : NULL; in bt_mesh_pub_key_get()
|
D | provisionee.c | 112 bt_mesh_prov->public_key_be == NULL ? PUB_KEY_NO_OOB : PUB_KEY_OOB); in prov_invite() 163 (!IS_ENABLED(CONFIG_BT_MESH_PROV_OOB_PUBLIC_KEY) || !bt_mesh_prov->public_key_be))) { in prov_start() 375 if (!bt_mesh_prov->public_key_be || !bt_mesh_prov->private_key_be) { in prov_pub_key() 381 if (!memcmp(bt_mesh_prov->public_key_be, in prov_pub_key() 389 memcpy(bt_mesh_prov_link.conf_inputs.pub_key_device, bt_mesh_prov->public_key_be, in prov_pub_key()
|
D | provisioner.c | 891 bt_mesh_prov->public_key_be && bt_mesh_prov->private_key_be) { in reprovision_local_client_server() 893 pub_key = bt_mesh_prov->public_key_be; in reprovision_local_client_server()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_provision.c | 56 static uint8_t public_key_be[64]; variable 466 memcpy(public_key_be, public_key_repr + 1, 64); in generate_oob_key_pair() 477 prov.public_key_be = public_key_be; in oob_device() 479 bs_bc_send_msg(*oob_channel_id, public_key_be, 64); in oob_device() 480 LOG_HEXDUMP_INF(public_key_be, 64, "OOB Public Key:"); in oob_device() 516 bs_bc_receive_msg(*oob_channel_id, public_key_be, 64); in oob_provisioner() 517 LOG_HEXDUMP_INF(public_key_be, 64, "OOB Public Key:"); in oob_provisioner() 528 ASSERT_OK(bt_mesh_prov_remote_pub_key_set(public_key_be)); in oob_provisioner()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | main.h | 136 const uint8_t *public_key_be; member
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | provisioning.rst | 107 :c:member:`bt_mesh_prov.public_key_be`
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 1407 prov.public_key_be = pub_key; in config_prov()
|