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
Showing
+1 -1
Please register or sign in to comment