summaryrefslogtreecommitdiff
path: root/net/6lowpan
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-06-26 14:55:23 -0700
committerMarcel Holtmann <marcel@holtmann.org>2016-07-08 12:20:57 +0200
commita4770e1117f193c3e27f5f046cd4f8e2470f3b70 (patch)
tree5b94bd702edc959e273ec5c65367c7ac679295b7 /net/6lowpan
parenta90a6e55f34f28190e4dc2a6a3660ef157827a8f (diff)
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