Lines Matching refs:bt_mesh_prov

89 	uint8_t oob_type = bt_mesh_prov->static_val ?  in prov_invite()
91 bool oob_availability = bt_mesh_prov->output_size > 0 || in prov_invite()
92 bt_mesh_prov->input_size > 0 || bt_mesh_prov->static_val; in prov_invite()
112 bt_mesh_prov->public_key_be == NULL ? PUB_KEY_NO_OOB : PUB_KEY_OOB); in prov_invite()
118 net_buf_simple_add_u8(&buf, bt_mesh_prov->output_size); in prov_invite()
121 net_buf_simple_add_be16(&buf, bt_mesh_prov->output_actions); in prov_invite()
124 net_buf_simple_add_u8(&buf, bt_mesh_prov->input_size); in prov_invite()
127 net_buf_simple_add_be16(&buf, bt_mesh_prov->input_actions); in prov_invite()
163 (!IS_ENABLED(CONFIG_BT_MESH_PROV_OOB_PUBLIC_KEY) || !bt_mesh_prov->public_key_be))) { in prov_start()
194 memcpy(bt_mesh_prov_link.auth, bt_mesh_prov->static_val, in prov_start()
195 bt_mesh_prov->static_val_len > auth_size ? auth_size in prov_start()
196 : bt_mesh_prov->static_val_len); in prov_start()
199 if (bt_mesh_prov->static_val_len < auth_size) { in prov_start()
200 memset(bt_mesh_prov_link.auth + bt_mesh_prov->static_val_len, 0, in prov_start()
201 auth_size - bt_mesh_prov->static_val_len); in prov_start()
339 remote_priv_key = bt_mesh_prov->private_key_be; in prov_dh_key_gen()
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()
400 bt_mesh_prov->input_complete) { in notify_input_complete()
401 bt_mesh_prov->input_complete(); in notify_input_complete()
624 if (bt_mesh_prov->reprovisioned) { in reprovision_complete()
625 bt_mesh_prov->reprovisioned(bt_mesh_primary_addr()); in reprovision_complete()
703 sys_memcpy_swap(uuid.val, bt_mesh_prov->uuid, 16); in bt_mesh_prov_enable()