Skip to content
Commit 2cab8772 authored by Ilya Makarov's avatar Ilya Makarov Committed by Christopher Friedt
Browse files

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: default avatarIlya Makarov <ilya.makarov.592@gmail.com>

Fixes: #40069
parent 08bb61e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment