zephyr/subsys
Johan Hedberg 4fe8eddd27 Bluetooth: SMP: Don't return STK if it hasn't been generated yet
The SMP_FLAG_ENC_PENDING flag indicates that we've generated an STK
and are waiting for encryption to happen. In case the remote enables
encryption prematurely we should not try to encrypt with whatever is
stored in smp->tk, rather reject the pairing attempt.

Fixes #3222

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-07-30 13:02:34 +03:00
..
app_memory userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00
bluetooth Bluetooth: SMP: Don't return STK if it hasn't been generated yet 2018-07-30 13:02:34 +03:00
console subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
cpp
debug subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
dfu subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
disk subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
fs cmake: default to linking 'app' with the interface library 'FS' 2018-07-25 08:27:45 -04:00
logging logging: Use vsnprintk instead of vsnprintf 2018-07-25 17:41:05 +03:00
mgmt subsys: mgmt: Fix broken OTA firmware update 2018-07-18 14:32:06 +02:00
net net: arp: Fix ARP message sending if VLAN is enabled 2018-07-30 12:47:02 +03:00
random subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
settings cmake: settings: Don't add ext nffs include dir to global includes 2018-07-25 08:27:45 -04:00
shell subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
storage subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
usb usb: set SN string descriptor at runtime 2018-07-16 17:20:58 +02:00
CMakeLists.txt userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00
Kconfig userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00