Home
last modified time | relevance | path

Searched refs:enc_size (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/
Dkeys.c499 sys_memcpy_swap(ltk, keys->ltk.val, keys->enc_size); in bt_keys_show_sniffer_info()
500 LOG_INF("SC LTK: 0x%s", bt_hex(ltk, keys->enc_size)); in bt_keys_show_sniffer_info()
505 sys_memcpy_swap(ltk, keys->periph_ltk.val, 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()
511 sys_memcpy_swap(ltk, keys->ltk.val, 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()
Dsmp.c404 (conn->le.keys->enc_size == BT_SMP_MAX_ENC_KEY_SIZE))) { in smp_keys_check()
631 if (keys->enc_size > get_encryption_key_size(smp)) { in update_keys_check()
1000 keys->enc_size = smp->enc_key_size; in smp_br_derive_ltk()
1783 (!conn->le.keys->enc_size || in smp_pairing_complete()
2051 memcpy(info->ltk, rand.key, keys->enc_size); in legacy_distribute_keys()
2052 if (keys->enc_size < sizeof(info->ltk)) { in legacy_distribute_keys()
2053 (void)memset(info->ltk + keys->enc_size, 0, in legacy_distribute_keys()
2054 sizeof(info->ltk) - keys->enc_size); in legacy_distribute_keys()
2785 uint8_t enc_size; in bt_smp_request_ltk() local
2799 enc_size = get_encryption_key_size(smp); in bt_smp_request_ltk()
[all …]
Dkeys.h70 uint8_t enc_size; member
Dconn.c2603 return conn->le.keys ? conn->le.keys->enc_size : 0; in bt_conn_enc_key_size()
Dhci_core.c2129 conn->le.keys->enc_size == BT_SMP_MAX_ENC_KEY_SIZE) { in update_sec_level()