zephyr/subsys
Joakim Andersson 2b3a2c8573 Bluetooth: host: Fail pairing if remote cannot meet required security
Fail after pairing request and response have been exchanged if the
selected pairing method would not result in the required security level.
This avoids the case where we would discover this after having encrypted
the connection and disconnect instead.

This was partially attempted but lacked checking for authentication
requirement when L3 was required, as well as skipping the check if L4
was required but remote did not support Secure Connections since the
check was after we had taken the legacy branch.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2021-02-11 14:58:03 -05:00
..
bluetooth Bluetooth: host: Fail pairing if remote cannot meet required security 2021-02-11 14:58:03 -05:00
canbus canbus: canopen: program: read flash in 32 byte chunks 2021-01-20 14:18:03 -06:00
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
cpp
debug spinlock: validate: fix the dependency with MP_NUM_CPUS 2021-01-26 08:43:45 -05:00
demand_paging mmu: backing stores reserve page fault room 2021-01-23 19:47:23 -05:00
dfu modules: introduce MCUBOOT_BOOTUTIL module 2021-01-14 18:03:38 +01:00
disk disk: disk_access_flash: Make sector size configurable in Kconfig 2021-01-15 11:21:01 -05:00
emul emul: Add an emulator for the eSPI Host 2021-01-20 17:49:19 -05:00
fb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fs fs: littlefs: fix mis-use of preprocessor 2021-02-08 11:36:24 -05:00
ipc ipc: RPMsg service to register multiple endpoints 2021-01-19 22:07:09 +01:00
jwt Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
logging logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
lorawan lorawan: move public network request 2021-02-10 08:55:15 -05:00
mgmt net: coap: clean up token usage in samples and tests 2021-02-02 14:03:01 -05:00
net license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
power power: Fix power states length 2021-02-10 22:10:21 -05:00
random random: ctr_drbg: Fix the error path in sys_csrand_get 2020-12-01 10:20:06 -06:00
settings settings: Handle unhandled error 2021-02-03 08:37:11 -05:00
shell Revert "shell: device_service: add dependency information" 2021-01-23 18:01:03 -05:00
stats misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
storage devicetree: flash-partitions: expose helper macros 2020-12-27 18:16:20 +01:00
testsuite logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
timing timing: fix timing_stop() ref counting 2021-01-04 12:15:30 +01:00
tracing systemview: Use common function to get sysview thread name 2020-11-21 08:29:26 -05:00
usb usb: fix BOS descriptor registration 2021-02-02 21:29:23 -05:00
CMakeLists.txt demand_paging: add infra for demand paging modules 2021-01-23 19:47:23 -05:00
Kconfig demand_paging: add infra for demand paging modules 2021-01-23 19:47:23 -05:00