Skip to content
Commit ef0bb5ad authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Marcel Holtmann
Browse files

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: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent b649813e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment