summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-01-05 19:10:53 +0300
committerMarcel Holtmann <marcel@holtmann.org>2021-01-06 10:41:48 +0300
commitef0bb5adc1a3cdbf20c77b8ba841d2eca7c7dc5a (patch)
treec342db7e4ee8d397cc23ddece5c48d0bfd811539 /drivers/bluetooth/btusb.c
parentb649813eadbc062d8682f7a20aa025275707dd1f (diff)
downloadlinux-ef0bb5adc1a3cdbf20c77b8ba841d2eca7c7dc5a.tar.xz
Bluetooth: avoid u128_xor() on potentially misaligned inputs
u128_xor() takes pointers to quantities that are assumed to be at least 64-bit aligned, which is not guaranteed to be the case in the smp_c1() routine. So switch to crypto_xor() instead. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions