Searched refs:enc_size (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/subsys/bluetooth/host/ |
D | keys.c | 499 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()
|
D | smp.c | 404 (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 …]
|
D | keys.h | 70 uint8_t enc_size; member
|
D | conn.c | 2603 return conn->le.keys ? conn->le.keys->enc_size : 0; in bt_conn_enc_key_size()
|
D | hci_core.c | 2129 conn->le.keys->enc_size == BT_SMP_MAX_ENC_KEY_SIZE) { in update_sec_level()
|