Skip to content
Commit 07680b27 authored by Ilya Makarov's avatar Ilya Makarov Committed by Anas Nashif
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 96d62441
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment