zephyr/subsys/bluetooth/host
Szymon Janc ee48754af3 bluetooth: host: Fix checking if LTK is present
conn->le.keys are set on-demand when actual security action happens and
it is possible that permission check needs to happen before those.

This fix regression in following qualification test cases:
GAP/SEC/AUT/BV-23-C
L2CAP/LE/CFC/BV-25-C
L2CAP/ECFC/BV-32-C

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2023-03-29 15:54:47 +00:00
..
a2dp_internal.h
a2dp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
addr_internal.h BluetootH: Host: add helper functions for resolved addresses 2023-01-12 13:31:12 +01:00
addr.c BluetootH: Host: add helper functions for resolved addresses 2023-01-12 13:31:12 +01:00
adv.c Bluetooth: host: suppress adv timeout warning when successful 2023-02-20 09:48:17 +01:00
adv.h
aes_ccm.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
at.c
at.h
att_internal.h
att.c Bluetooth: host: downgrade select log messages 2023-03-16 12:56:48 +01:00
avdtp_internal.h
avdtp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
br.c bluetooth: host: Check for NULL discovery callbacks 2023-02-28 12:48:47 +01:00
br.h
buf.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
CMakeLists.txt Bluetooth: Move bt_data_parse to dedicated source file 2023-03-16 11:46:36 +01:00
conn_internal.h bluetooth: host: Add common helper for checking LTK presence 2023-03-28 16:15:58 +00:00
conn.c bluetooth: host: Fix checking if LTK is present 2023-03-29 15:54:47 +00:00
crypto.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
crypto.h
data.c Bluetooth: Host: Move new bt_data functions to data.c 2023-03-21 18:17:52 +00:00
direction_internal.h
direction.c Bluetooth: host: df: Add missing bt_conn_unref in error cases 2023-03-23 08:56:07 +00:00
ecc.c tests: bluetooth: host: Add UT for bt_pub_key_gen() 2023-03-22 09:33:42 +01:00
ecc.h
gatt_internal.h
gatt.c bluetooth: host: Add common helper for checking LTK presence 2023-03-28 16:15:58 +00:00
hci_common.c
hci_core.c Bluetooth: Move bt_data_parse to dedicated source file 2023-03-16 11:46:36 +01:00
hci_core.h
hci_ecc.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
hfp_hf.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
hfp_internal.h
id.c Bluetooth: host: adv: set the address in bt_le_adv_resume 2022-12-19 09:37:25 +00:00
id.h
iso_internal.h Bluetooth: audio: Fix declaring conn type object in header file 2023-03-28 15:07:09 +02:00
iso.c Bluetooth: iso: Add bt_iso_server_unregister function 2023-03-28 15:07:09 +02:00
Kconfig Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
Kconfig.gatt Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
Kconfig.l2cap Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
keys_br.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
keys.c tests: bluetooth: host: Add UT for bt_keys_update_usage() 2023-01-17 13:13:02 +01:00
keys.h
l2cap_br.c Bluetooth: L2CAP: Fix use of 'br_chan' 2023-02-20 09:53:26 +01:00
l2cap_internal.h Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
l2cap.c bluetooth: host: Add common helper for checking LTK presence 2023-03-28 16:15:58 +00:00
long_wq.c
long_wq.h
monitor.c
monitor.h
rfcomm_internal.h
rfcomm.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
scan.c Bluetooth: Host: Fix handling of incomplete data status adv reports 2023-03-24 17:36:32 +00:00
scan.h
sdp_internal.h
sdp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
settings.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
settings.h
smp_null.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
smp.c Bluetooth: pairing: OOB: Separate LE SC OOB from legacy OOB logic 2023-03-20 16:13:18 +01:00
smp.h Bluetooth: Host: SMP Keypress Notification 2023-03-13 14:04:25 +01:00
ssp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
ssp.h
testing.c Bluetooth: Mesh: Add Model Receive testing callback 2023-03-06 13:52:15 +01:00
testing.h Bluetooth: Mesh: Add Model Receive testing callback 2023-03-06 13:52:15 +01:00
uuid.c