Searched refs:rand_size (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | provisioner.c | 618 uint8_t rand_size = bt_mesh_prov_auth_size_get(); in send_random() local 621 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, rand_size); in send_random() 633 uint8_t rand_size = bt_mesh_prov_auth_size_get(); in prov_random() local 636 LOG_DBG("Remote Random: %s", bt_hex(data, rand_size)); in prov_random() 637 if (!memcmp(data, bt_mesh_prov_link.rand, rand_size)) { in prov_random() 650 if (memcmp(conf_verify, bt_mesh_prov_link.conf, rand_size)) { in prov_random() 652 LOG_DBG("Received: %s", bt_hex(bt_mesh_prov_link.conf, rand_size)); in prov_random() 653 LOG_DBG("Calculated: %s", bt_hex(conf_verify, rand_size)); in prov_random()
|
D | provisionee.c | 422 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()
|