zephyr/subsys/bluetooth/host
Michał Narajowski f62a40beb6 Bluetooth: Fix callback handling in ECC Public Key generation
Commit d6c34c4644 changed the behavior
slightly but didn't update the documentation. The callback will now be
reset to NULL once the key is generated. Calling bt_pub_key_gen()
multiple times before the key is finished would result in creation of an
infinite loop. This could happen when an application calls mesh_init()
and mesh_reset() in quick succession. Clarify the behavior of the API in
the documentation.

Also passing a NULL argument would result in an undefined behavior, so
add a check to match the behavior described in documentation.

Signed-off-by: Michał Narajowski <michal.narajowski@codecoup.pl>
2021-04-09 13:27:24 +02:00
..
a2dp_internal.h
a2dp.c
addr.c
adv.c Bluetooth: host: Add feature check for periodic adv functions 2021-03-26 15:28:09 -04:00
adv.h Bluetooth: host: Refactor out advertiser roles from hci_core to adv 2021-03-15 16:51:51 +02:00
aes_ccm.c
at.c
at.h
att_internal.h Bluetooth: host: Release ATT request buffers once sent 2021-02-11 12:59:01 -05:00
att.c Bluetooth: host: Fix packet reording in ATT under high load 2021-04-01 13:07:47 +03:00
avdtp_internal.h
avdtp.c
br.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
br.h Bluetooth: host: Refactor out BR/EDR from hci_core to br 2021-03-15 16:51:51 +02:00
buf.c Bluetooth: Seperate BT_ISO and BT_AUDIO 2021-02-15 08:01:34 -05:00
CMakeLists.txt Bluetooth: host: Refactor out BR/EDR from hci_core to br 2021-03-15 16:51:51 +02:00
conn_internal.h Bluetooth: host: Initial support for BIS 2021-03-09 08:06:02 -05:00
conn.c Bluetooth: host: Add ISO disconnect reason 2021-04-07 14:16:54 +02:00
crypto.c
crypto.h
direction_internal.h Bluetooth: host: Add DF to initalization sequence 2021-01-05 09:38:53 +01:00
direction.c Bluetooth: host: Refactor command state set handling to one function 2021-03-15 16:51:51 +02:00
ecc.c Bluetooth: Fix callback handling in ECC Public Key generation 2021-04-09 13:27:24 +02:00
ecc.h Bluetooth: Fix callback handling in ECC Public Key generation 2021-04-09 13:27:24 +02:00
gatt_internal.h
gatt.c Bluetooth: host: Add discovery of standard descriptor values 2021-04-06 10:50:18 -04:00
hci_common.c
hci_core.c Bluetooth: host: Fix BT_LOG_SNIFFER_INFO option without BT_SMP enabled 2021-03-25 07:23:52 -04:00
hci_core.h Bluetooth: host: Fixed bt_le_per_adv_sync interval unit decription 2021-04-07 14:16:46 +02:00
hci_ecc.c Bluetooth: host: Log security keys needed by sniffer 2021-03-04 14:20:25 +02:00
hci_ecc.h Bluetooth: Refactor ECC emulation supported commands bits 2021-02-18 13:50:22 +01:00
hci_raw_internal.h
hci_raw.c Bluetooth: hci_raw: Move BT_ISO to common Kconfig and fix ISO buffers 2021-02-15 08:01:34 -05:00
hfp_hf.c
hfp_internal.h
id.c Bluetooth: host: Fix undefined references to adv in central only builds 2021-03-17 18:58:49 +02:00
id.h Bluetooth: host: Refactor out identity handling from hci_core to id 2021-03-15 16:51:51 +02:00
iso_internal.h Bluetooth: host: Validate big_handle before using it as an array index 2021-03-30 08:17:22 -04:00
iso.c Bluetooth: ISO: Fix segmentation fault for disconnecting BIS 2021-04-08 16:35:27 +02:00
Kconfig Bluetooth: SMP: Adds Kconfig for minimum encryption key size 2021-04-02 16:46:18 +03:00
Kconfig.gatt Bluetooth: Host: Add a configuration for writable name 2021-03-26 15:31:29 -04:00
Kconfig.l2cap
keys_br.c Bluetooth: host: Fix compilation error with BR/EDR enabled 2021-03-15 16:51:51 +02:00
keys.c Bluetooth: host: Log security keys needed by sniffer 2021-03-04 14:20:25 +02:00
keys.h Bluetooth: host: Log security keys needed by sniffer 2021-03-04 14:20:25 +02:00
l2cap_br.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
l2cap_internal.h
l2cap.c Bluetooth: L2CAP: Fix not including all DCIDs 2021-03-17 11:29:27 +01:00
monitor.c logging: Add backend parameter to the init function 2021-03-12 09:24:54 -05:00
monitor.h
rfcomm_internal.h
rfcomm.c kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
scan.c Bluetooth: host: Add functions for periodic adv sync objects 2021-04-07 14:16:46 +02:00
scan.h Bluetooth: host: Refactor out scan roles from hci_core to scan 2021-03-15 16:51:51 +02:00
sdp_internal.h
sdp.c Bluetooth: host: Make acl_data extension of bt_buf user data explicit 2020-11-26 13:15:03 +01:00
settings.c
settings.h
smp_null.c
smp.c bluetooth/smp: reject pairing in SC Only mode if insufficient keysize 2021-03-26 15:30:25 -04:00
smp.h Bluetooth: SMP: Adds Kconfig for minimum encryption key size 2021-04-02 16:46:18 +03:00
ssp.c Bluetooth: host: Align SSP HCI event handler function names 2021-03-15 16:51:51 +02:00
ssp.h
testing.c
testing.h
uuid.c