Searched refs:auth_size (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | prov.c | 151 uint8_t auth_size = bt_mesh_prov_auth_size_get(); in get_auth_number() local 166 sys_put_be32(num, &bt_mesh_prov_link.auth[auth_size - sizeof(num)]); in get_auth_number() 167 memset(bt_mesh_prov_link.auth, 0, auth_size - sizeof(num)); in get_auth_number() 176 uint8_t auth_size = bt_mesh_prov_auth_size_get(); in bt_mesh_prov_auth() local 185 (void)memset(bt_mesh_prov_link.auth, 0, auth_size); in bt_mesh_prov_auth() 266 uint8_t auth_size = bt_mesh_prov_auth_size_get(); in bt_mesh_input_number() local 274 sys_put_be32(num, &bt_mesh_prov_link.auth[auth_size - sizeof(num)]); in bt_mesh_input_number()
|
D | provisionee.c | 159 uint8_t auth_size = bt_mesh_prov_auth_size_get(); in prov_start() local 195 bt_mesh_prov->static_val_len > auth_size ? auth_size in prov_start() 199 if (bt_mesh_prov->static_val_len < auth_size) { in prov_start() 201 auth_size - bt_mesh_prov->static_val_len); in prov_start() 209 uint8_t auth_size = bt_mesh_prov_auth_size_get(); in send_confirm() local 226 LOG_DBG("ConfirmationSalt: %s", bt_hex(bt_mesh_prov_link.conf_salt, auth_size)); in send_confirm() 243 LOG_DBG("ConfirmationKey: %s", bt_hex(bt_mesh_prov_link.conf_key, auth_size)); in send_confirm() 245 if (bt_rand(bt_mesh_prov_link.rand, auth_size)) { in send_confirm() 251 LOG_DBG("LocalRandom: %s", bt_hex(bt_mesh_prov_link.rand, auth_size)); in send_confirm() 257 net_buf_simple_add(&cfm, auth_size))) { in send_confirm()
|
D | provisioner.c | 314 uint8_t auth_size = bt_mesh_prov_auth_size_get(); in send_confirm() local 332 LOG_DBG("ConfirmationSalt: %s", bt_hex(bt_mesh_prov_link.conf_salt, auth_size)); in send_confirm() 349 LOG_DBG("ConfirmationKey: %s", bt_hex(bt_mesh_prov_link.conf_key, auth_size)); in send_confirm() 351 if (bt_rand(bt_mesh_prov_link.rand, auth_size)) { in send_confirm() 357 LOG_DBG("LocalRandom: %s", bt_hex(bt_mesh_prov_link.rand, auth_size)); in send_confirm() 369 net_buf_simple_add_mem(&cfm, bt_mesh_prov_link.conf, auth_size); in send_confirm()
|
D | crypto.c | 649 uint8_t auth_size = algorithm ? 32 : 16; in bt_mesh_prov_conf() local 651 LOG_DBG("ConfirmationKey %s", bt_hex(conf_key, auth_size)); in bt_mesh_prov_conf() 652 LOG_DBG("RandomDevice %s", bt_hex(prov_rand, auth_size)); in bt_mesh_prov_conf() 653 LOG_DBG("AuthValue %s", bt_hex(auth, auth_size)); in bt_mesh_prov_conf()
|