diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-06-08 18:14:39 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-09 09:09:06 +0200 |
commit | 8b76ce34c43a569f981623485c1b6c700594678e (patch) | |
tree | 3844c2f8bc50d978342a4a0fa5eb46b765a1aad5 /drivers | |
parent | 2eeac871697ac24a77b6d7953bd711b490e83ac7 (diff) | |
download | talos-obmc-linux-8b76ce34c43a569f981623485c1b6c700594678e.tar.gz talos-obmc-linux-8b76ce34c43a569f981623485c1b6c700594678e.zip |
Bluetooth: Fix encryption key size handling for LTKs
The encryption key size for LTKs is supposed to be applied only at the
moment of encryption. When generating a Link Key (using LE SC) from
the LTK the full non-shortened value should be used. This patch
modifies the code to always keep the full value around and only apply
the key size when passing the value to HCI.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions