summaryrefslogtreecommitdiffstats
path: root/net/6lowpan
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-06-26 23:55:23 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-07-08 12:20:57 +0200
commita4770e1117f193c3e27f5f046cd4f8e2470f3b70 (patch)
tree5b94bd702edc959e273ec5c65367c7ac679295b7 /net/6lowpan
parentMerge tag 'mac80211-next-for-davem-2016-07-06' of git://git.kernel.org/pub/sc... (diff)
downloadlinux-a4770e1117f193c3e27f5f046cd4f8e2470f3b70.tar.xz
linux-a4770e1117f193c3e27f5f046cd4f8e2470f3b70.zip
Bluetooth: Switch SMP to crypto_cipher_encrypt_one()
SMP does ECB crypto on stack buffers. This is complicated and fragile, and it will not work if the stack is virtually allocated. Switch to the crypto_cipher interface, which is simpler and safer. Signed-off-by: Andy Lutomirski <luto@kernel.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Johan Hedberg <johan.hedberg@intel.com> Tested-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions