Home
last modified time | relevance | path

Searched full:bt_hex (Results 1 – 25 of 61) sorted by relevance

123

/Zephyr-latest/subsys/bluetooth/crypto/
Dbt_crypto.c25 LOG_DBG("u %s", bt_hex(u, 32)); in bt_crypto_f4()
26 LOG_DBG("v %s", bt_hex(v, 32)); in bt_crypto_f4()
27 LOG_DBG("x %s z 0x%x", bt_hex(x, 16), z); in bt_crypto_f4()
51 LOG_DBG("res %s", bt_hex(res, 16)); in bt_crypto_f4()
73 LOG_DBG("w %s", bt_hex(w, 32)); in bt_crypto_f5()
74 LOG_DBG("n1 %s", bt_hex(n1, 16)); in bt_crypto_f5()
75 LOG_DBG("n2 %s", bt_hex(n2, 16)); in bt_crypto_f5()
84 LOG_DBG("t %s", bt_hex(t, 16)); in bt_crypto_f5()
98 LOG_DBG("mackey %1s", bt_hex(mackey, 16)); in bt_crypto_f5()
110 LOG_DBG("ltk %s", bt_hex(ltk, 16)); in bt_crypto_f5()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/crypto/
Dcrypto.c26 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_le()
27 LOG_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_le()
31 LOG_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_le()
39 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_be()
40 LOG_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_be()
44 LOG_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_be()
/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_crypto.c44 LOG_DBG("Invalid r %s", bt_hex(r, BT_CSIP_CRYPTO_PRAND_SIZE)); in bt_csip_sih()
47 LOG_DBG("SIRK %s", bt_hex(sirk, BT_CSIP_SIRK_SIZE)); in bt_csip_sih()
48 LOG_DBG("r %s", bt_hex(r, BT_CSIP_CRYPTO_PRAND_SIZE)); in bt_csip_sih()
54 LOG_DBG("r' %s", bt_hex(res, sizeof(res))); in bt_csip_sih()
69 LOG_DBG("res %s", bt_hex(res, sizeof(res))); in bt_csip_sih()
74 LOG_DBG("sih %s", bt_hex(out, BT_CSIP_CRYPTO_HASH_SIZE)); in bt_csip_sih()
110 LOG_DBG("BE: n %s", bt_hex(n, n_size)); in k1()
111 LOG_DBG("BE: salt %s", bt_hex(salt, BT_CSIP_CRYPTO_SALT_SIZE)); in k1()
112 LOG_DBG("BE: p %s", bt_hex(p, p_size)); in k1()
116 LOG_DBG("BE: t %s", bt_hex(t, sizeof(t))); in k1()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto.c87 LOG_DBG("n %s", bt_hex(n, 16)); in bt_mesh_k2()
88 LOG_DBG("p %s", bt_hex(p, p_len)); in bt_mesh_k2()
142 LOG_DBG("NID 0x%02x enc_key %s", net_id[0], bt_hex(enc_key, sizeof(struct bt_mesh_key))); in bt_mesh_k2()
143 LOG_DBG("priv_key %s", bt_hex(priv_key, sizeof(struct bt_mesh_key))); in bt_mesh_k2()
269 LOG_DBG("SessionKey: %s", bt_hex(raw_key, 16)); in bt_mesh_session_key()
283 LOG_DBG("DevKey: %s", bt_hex(dev_key, 16)); in bt_mesh_dev_key()
360 bt_hex(privacy_key, sizeof(struct bt_mesh_key))); in bt_mesh_net_obfuscate()
365 LOG_DBG("PrivacyRandom %s", bt_hex(priv_rand, 16)); in bt_mesh_net_obfuscate()
387 bt_hex(key, sizeof(struct bt_mesh_key)), mic_len); in bt_mesh_net_encrypt()
388 LOG_DBG("PDU (len %u) %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_net_encrypt()
[all …]
Dprovisionee.c213 LOG_DBG("ConfInputs[0] %s", bt_hex(inputs, 32)); in send_confirm()
214 LOG_DBG("ConfInputs[32] %s", bt_hex(&inputs[32], 32)); in send_confirm()
215 LOG_DBG("ConfInputs[64] %s", bt_hex(&inputs[64], 32)); in send_confirm()
216 LOG_DBG("ConfInputs[96] %s", bt_hex(&inputs[96], 32)); in send_confirm()
217 LOG_DBG("ConfInputs[128] %s", bt_hex(&inputs[128], 17)); in send_confirm()
226 LOG_DBG("ConfirmationSalt: %s", bt_hex(bt_mesh_prov_link.conf_salt, auth_size)); in send_confirm()
233 LOG_DBG("AuthValue %s", bt_hex(bt_mesh_prov_link.auth, 32)); in send_confirm()
243 LOG_DBG("ConfirmationKey: %s", bt_hex(bt_mesh_prov_link.conf_key, auth_size)); in send_confirm()
251 LOG_DBG("LocalRandom: %s", bt_hex(bt_mesh_prov_link.rand, auth_size)); in send_confirm()
317 LOG_DBG("Local Public Key: %s", bt_hex(buf.data + 1, PUB_KEY_SIZE)); in send_pub_key()
[all …]
Dprovisioner.c318 LOG_DBG("ConfInputs[0] %s", bt_hex(inputs, 32)); in send_confirm()
319 LOG_DBG("ConfInputs[32] %s", bt_hex(&inputs[32], 32)); in send_confirm()
320 LOG_DBG("ConfInputs[64] %s", bt_hex(&inputs[64], 32)); in send_confirm()
321 LOG_DBG("ConfInputs[96] %s", bt_hex(&inputs[96], 32)); in send_confirm()
322 LOG_DBG("ConfInputs[128] %s", bt_hex(&inputs[128], 17)); in send_confirm()
332 LOG_DBG("ConfirmationSalt: %s", bt_hex(bt_mesh_prov_link.conf_salt, auth_size)); in send_confirm()
339 LOG_DBG("AuthValue %s", bt_hex(bt_mesh_prov_link.auth, 32)); in send_confirm()
349 LOG_DBG("ConfirmationKey: %s", bt_hex(bt_mesh_prov_link.conf_key, auth_size)); in send_confirm()
357 LOG_DBG("LocalRandom: %s", bt_hex(bt_mesh_prov_link.rand, auth_size)); in send_confirm()
404 LOG_DBG("Local Public Key: %s", bt_hex(buf.data + 1, PUB_KEY_SIZE)); in send_pub_key()
[all …]
Dhealth_cli.c49 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in health_fault_status()
101 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in health_current_status()
129 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in health_period_status()
163 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in health_attention_status()
Dlarge_comp_data_srv.c55 bt_hex(buf->data, buf->len)); in handle_large_comp_data_get()
117 bt_hex(buf->data, buf->len)); in handle_models_metadata_get()
Dpb_gatt.c85 LOG_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_pb_gatt_recv()
166 LOG_DBG("uuid %s", bt_hex(uuid, 16)); in prov_link_open()
Dbeacon.c159 bt_hex(keys->net_id, 8)); in secure_beacon_create()
160 LOG_DBG("IV Index 0x%08x Auth %s", bt_mesh.iv_index, bt_hex(sub->secure_beacon.auth, 8)); in secure_beacon_create()
428 LOG_DBG("uuid %s", bt_hex(uuid, 16)); in unprovisioned_beacon_recv()
537 LOG_WRN("Invalid auth value. Received auth: %s", bt_hex(params->auth, 8)); in auth_match()
538 LOG_WRN("Calculated auth: %s", bt_hex(net_auth, 8)); in auth_match()
723 LOG_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_beacon_recv()
Dcfg_cli.c61 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in comp_data_status()
97 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in state_status_u8()
190 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in krp_status()
235 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in relay_status()
290 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in net_key_status()
357 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in net_key_list()
425 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in app_key_status()
475 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in app_key_list()
534 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in mod_app_status()
702 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in mod_app_list()
[all …]
Dsubnet.c327 bt_hex(&keys->msg.enc, sizeof(struct bt_mesh_key))); in net_keys_create()
328 LOG_DBG("PrivacyKey %s", bt_hex(&keys->msg.privacy, sizeof(struct bt_mesh_key))); in net_keys_create()
336 LOG_DBG("NetID %s", bt_hex(keys->net_id, 8)); in net_keys_create()
345 LOG_DBG("IdentityKey %s", bt_hex(&keys->identity, sizeof(struct bt_mesh_key))); in net_keys_create()
354 LOG_DBG("BeaconKey %s", bt_hex(&keys->beacon, sizeof(struct bt_mesh_key))); in net_keys_create()
363 LOG_DBG("PrivateBeaconKey %s", bt_hex(&keys->priv_beacon, sizeof(struct bt_mesh_key))); in net_keys_create()
Dcfg_srv.c59 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in dev_comp_data_get()
431 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in beacon_get()
450 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in beacon_set()
476 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in default_ttl_get()
496 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in default_ttl_set()
534 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in gatt_proxy_get()
544 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in gatt_proxy_set()
570 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in net_transmit_get()
589 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in net_transmit_set()
613 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in relay_get()
[all …]
Dnet.c205 LOG_DBG("NetKey %s", bt_hex(key, sizeof(struct bt_mesh_key))); in bt_mesh_net_create()
539 LOG_DBG("Payload len %u: %s", adv->b.len, bt_hex(adv->b.data, adv->b.len)); in bt_mesh_net_send()
810 LOG_WRN("%s", bt_hex(in->data, in->len)); in bt_mesh_net_decode()
823 LOG_DBG("%u bytes: %s", in->len, bt_hex(in->data, in->len)); in bt_mesh_net_decode()
857 LOG_DBG("PDU: %s", bt_hex(out->data, out->len)); in bt_mesh_net_decode()
1032 LOG_DBG("Recovered DevKey %s", bt_hex(&bt_mesh.dev_key, sizeof(struct bt_mesh_key))); in net_set()
1218 bt_hex(&bt_mesh.dev_key, sizeof(struct bt_mesh_key))); in store_pending_net()
Dadv.c263 bt_hex(adv->b.data, adv->b.len)); in bt_mesh_adv_send()
319 LOG_DBG("len %u: %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_scan_cb()
Dlarge_comp_data_cli.c48 bt_hex(buf->data, buf->len)); in data_status()
Dblob_srv.c395 bt_hex(srv->block.missing, in block_status_rsp()
474 /* bt_hex uses static array for the resulting hex string. in handle_xfer_start()
475 * Not possible to use bt_hex in the same logging function twice. in handle_xfer_start()
477 LOG_WRN("Invalid ID: %s", bt_hex(&id, sizeof(uint64_t))); in handle_xfer_start()
478 LOG_WRN("Expected ID: %s", bt_hex(&srv->state.xfer.id, sizeof(uint64_t))); in handle_xfer_start()
/Zephyr-latest/subsys/bluetooth/host/
Dcrypto_psa.c77 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_le()
78 LOG_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_le()
111 LOG_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_le()
128 LOG_DBG("key %s", bt_hex(key, 16)); in bt_encrypt_be()
129 LOG_DBG("plaintext %s", bt_hex(plaintext, 16)); in bt_encrypt_be()
156 LOG_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_encrypt_be()
Daes_ccm.c218 LOG_DBG("key %s", bt_hex(key, 16)); in bt_ccm_encrypt()
219 LOG_DBG("nonce %s", bt_hex(nonce, 13)); in bt_ccm_encrypt()
220 LOG_DBG("msg (len %zu) %s", len, bt_hex(plaintext, len)); in bt_ccm_encrypt()
Dkeys.c371 LOG_DBG("name %s val %s", name, (len) ? bt_hex(val, sizeof(val)) : "(null)"); in keys_set()
500 LOG_INF("SC LTK: 0x%s", bt_hex(ltk, keys->enc_size)); in bt_keys_show_sniffer_info()
506 LOG_INF("Legacy LTK: 0x%s (peripheral)", bt_hex(ltk, keys->enc_size)); in bt_keys_show_sniffer_info()
512 LOG_INF("Legacy LTK: 0x%s (central)", bt_hex(ltk, keys->enc_size)); in bt_keys_show_sniffer_info()
/Zephyr-latest/tests/bluetooth/bt_crypto_ccm/src/
Dtest_bt_crypto_ccm.c45 bt_hex(encrypted_data, p->expected_output_len), p->expected_output_len); in ZTEST()
47 bt_hex(p->expected_output, p->expected_output_len), p->expected_output_len); in ZTEST()
62 LOG_DBG("decrypted data %s (len: %d)", bt_hex(decrypted_data, p->input_len), in ZTEST()
64 LOG_DBG("expected data %s (len: %d)", bt_hex(p->input, p->input_len), p->input_len); in ZTEST()
/Zephyr-latest/subsys/bluetooth/common/
Drpa.c60 LOG_DBG("irk %s", bt_hex(irk, 16)); in ah()
61 LOG_DBG("r %s", bt_hex(r, 3)); in ah()
89 LOG_DBG("IRK %s bdaddr %s", bt_hex(irk, 16), bt_addr_str(addr)); in bt_rpa_irk_matches()
Dbt_str.h14 const char *bt_hex(const void *buf, size_t len);
Dbt_str.c19 const char *bt_hex(const void *buf, size_t len) in bt_hex() function
/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/
Dcentral.c30 bt_hex(data->data, BT_EAD_RANDOMIZER_SIZE)); in data_parse_cb()
32 bt_hex(sample_data->randomizer_little_endian, in data_parse_cb()

123