Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Dprovisioner.c616 uint8_t rand_size = bt_mesh_prov_auth_size_get(); in send_random() local
619 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, rand_size); in send_random()
631 uint8_t rand_size = bt_mesh_prov_auth_size_get(); in prov_random() local
634 LOG_DBG("Remote Random: %s", bt_hex(data, rand_size)); in prov_random()
635 if (!memcmp(data, bt_mesh_prov_link.rand, rand_size)) { in prov_random()
648 if (memcmp(conf_verify, bt_mesh_prov_link.conf, rand_size)) { in prov_random()
650 LOG_DBG("Received: %s", bt_hex(bt_mesh_prov_link.conf, rand_size)); in prov_random()
651 LOG_DBG("Calculated: %s", bt_hex(conf_verify, rand_size)); in prov_random()
Dprovisionee.c422 uint8_t rand_size = bt_mesh_prov_auth_size_get(); in prov_random() local
425 LOG_DBG("Remote Random: %s", bt_hex(data, rand_size)); in prov_random()
426 if (!memcmp(data, bt_mesh_prov_link.rand, rand_size)) { in prov_random()
439 if (memcmp(conf_verify, bt_mesh_prov_link.conf, rand_size)) { in prov_random()
441 LOG_DBG("Received: %s", bt_hex(bt_mesh_prov_link.conf, rand_size)); in prov_random()
442 LOG_DBG("Calculated: %s", bt_hex(conf_verify, rand_size)); in prov_random()