mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-31 00:32:52 +00:00
mesh: dump netkey in mesh_network_key_derive
This commit is contained in:
parent
41a6cb697b
commit
a46516f1b8
@ -272,6 +272,9 @@ void mesh_network_key_derive(btstack_crypto_aes128_cmac_t * request, mesh_networ
|
|||||||
mesh_network_key_derive_arg = callback_arg;
|
mesh_network_key_derive_arg = callback_arg;
|
||||||
mesh_network_key_derive_key = network_key;
|
mesh_network_key_derive_key = network_key;
|
||||||
|
|
||||||
|
printf("NetKey: ");
|
||||||
|
printf_hexdump(network_key->net_key, 16);
|
||||||
|
|
||||||
// calc k1 using
|
// calc k1 using
|
||||||
mesh_k1(request, mesh_network_key_derive_key->net_key, 16, mesh_salt_nhbk, id128_tag, sizeof(id128_tag),
|
mesh_k1(request, mesh_network_key_derive_key->net_key, 16, mesh_salt_nhbk, id128_tag, sizeof(id128_tag),
|
||||||
mesh_network_key_derive_key->beacon_key, &mesh_network_key_derive_beacon_key_calculated, request);
|
mesh_network_key_derive_key->beacon_key, &mesh_network_key_derive_beacon_key_calculated, request);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user