zephyr/subsys/bluetooth/host
Ilya Makarov 2cab8772b5 Bluetooth: host: Fix MIC generation in Bluetooth CCM encryption
bt_ccm_encrypt only works when encrypting in place. To fix this
ccm_auth() inside bt_ccm_encrypt() must take plaintext instead of
enc_data, to not rely on assumption that plain and cypher data are the
same memory.

Signed-off-by: Ilya Makarov <ilya.makarov.592@gmail.com>

Fixes: #40069
2021-11-08 11:00:33 -05:00
..
a2dp_internal.h
a2dp.c misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
addr.c Bluetooth: host: Refactor out address handling to new file 2020-11-26 13:15:03 +01:00
adv.c Bluetooth: Host: Fix setting long adv data with long AD fields 2021-11-02 13:25:01 +01:00
adv.h Bluetooth: host: Cancel limited adv timeout when advertising stopped 2021-08-30 14:41:20 +02:00
aes_ccm.c Bluetooth: host: Fix MIC generation in Bluetooth CCM encryption 2021-11-08 11:00:33 -05:00
at.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
at.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
att_internal.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
att.c bluetooth: host: avoid freeing structure that's part of a linked list 2021-11-01 11:18:04 -04:00
avdtp_internal.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
avdtp.c Bluetooth: host: Update AVDTP to use new delayable work API 2021-05-05 19:44:09 -04:00
br.c Bluetooth: hci: Align terms with the Bluetooth v5.3 spec 2021-09-17 16:05:01 +02: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: ISO: Split ISO broadcast config 2021-10-18 12:43:38 +02:00
CMakeLists.txt Bluetooth: Update terms in public API to spec v5.3 2021-09-15 14:02:50 +03:00
conn_internal.h Bluetooth: host: Align with terms in v5.3 spec 2021-09-20 20:01:32 +02:00
conn.c Bluetooth: ISO: Split ISO broadcast config 2021-10-18 12:43:38 +02:00
crypto.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
crypto.h
direction_internal.h Bluetooth: host: Add handl HCI_LE_Connectionless_IQ_Report 2021-05-06 16:27:16 +02:00
direction.c Bluetooth: host: df: Fix compilation warning in direction.c 2021-08-03 13:58:02 +02:00
ecc.c bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
ecc.h bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
gatt_internal.h Bluetooth: gatt: callbacks on ATT MTU update 2021-06-07 12:03:09 +02:00
gatt.c Bluetooth: Add check given services is register API 2021-11-03 18:57:03 +01:00
hci_common.c Bluetooth: Move implementation of hci_driver.h exposed functions 2020-07-27 13:27:05 +02:00
hci_core.c Bluetooth: ISO: Fix typo in hci_le_cis_estabilished 2021-10-28 10:37:34 -04:00
hci_core.h Bluetooth: host: check return value of bt_rand when creating identities 2021-09-27 17:14:20 +02:00
hci_ecc.c bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +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: Add missing header that defines BT_ISO_SDU_BUF_SIZE 2021-11-04 09:52:48 +01:00
hfp_hf.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hfp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
id.c Bluetooth: host: Access local IRKs consistently 2021-09-29 10:44:38 -04:00
id.h Bluetooth: host: Update RPA timer to new delayable work API 2021-05-05 19:44:09 -04:00
iso_internal.h Bluetooth: ISO: Fix typo in hci_le_cis_estabilished 2021-10-28 10:37:34 -04:00
iso.c Bluetooth: ISO: Store SDU and PHY for peripheral 2021-11-07 05:42:29 -05:00
Kconfig kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00
Kconfig.gatt kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00
Kconfig.l2cap Bluetooth: Mesh: Modularizing the proxy 2021-07-09 17:56:16 +03:00
keys_br.c Bluetooth: host: Fix compilation error with BR/EDR enabled 2021-03-15 16:51:51 +02:00
keys.c Bluetooth: host: Verify valid local identity loaded from settings 2021-09-29 10:44:38 -04:00
keys.h Bluetooth: host: Align with terms in v5.3 spec 2021-09-20 20:01:32 +02:00
l2cap_br.c toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
l2cap_internal.h toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
l2cap.c bluetooth: Add support for reconfiguring L2CAP channels 2021-10-04 11:05:03 +02:00
monitor.c bluetooth: monitor: Add support for logging v2 2021-11-03 16:00:17 +01:00
monitor.h Bluetooth: Add option to log btsnoops over RTT 2021-05-05 16:03:38 +02:00
rfcomm_internal.h Bluetooth: host: Update RFCOMM to new delayable work API 2021-05-05 19:44:09 -04:00
rfcomm.c bluetooth: rfcomm: fix the coverity 203443 memory corruptions 2021-06-24 11:57:33 +03:00
scan.c Bluetooth: Host: Set SID in bt_le_per_adv_sync_recv_info 2021-11-06 00:41:28 +02:00
scan.h Bluetoot: host: Make get_per_adv_sync to be global function 2021-05-06 16:27:16 +02:00
sdp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sdp.c Bluetooth: SDP: Check len is not zero before accessing data pointer 2021-09-27 16:34:22 +02:00
settings.c Bluetooth: host: check return value of bt_rand when creating identities 2021-09-27 17:14:20 +02:00
settings.h
smp_null.c Bluetooth: host: Fix buffer leak trying to send when disconnected 2021-05-03 16:45:53 +02:00
smp.c bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
smp.h bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
ssp.c Bluetooth: host: Align SSP HCI event handler function names 2021-03-15 16:51:51 +02:00
ssp.h Bluetooth: host: Split SSP to it's own module 2020-08-11 19:32:35 +02:00
testing.c Bluetooth: Mesh: Move Replay Protect to seperate module 2020-10-01 16:20:24 +03:00
testing.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uuid.c Bluetooth: uuid: Use BT_UUID_SIZE_ macros for bt_uuid_create 2021-07-19 18:52:41 +02:00