]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix SMP security elevation from medium to high
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 7 Jun 2012 06:58:37 +0000 (14:58 +0800)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 8 Jun 2012 06:58:34 +0000 (03:58 -0300)
commit76958d89b82db9869dff0675ec9b1825ffc0ea1e
tree1d068a2942a98fb8e91cca4510d958ac24cf1c85
parentbad4c1c71ee04aef7091a66674145f336ce95a5e
Bluetooth: Fix SMP security elevation from medium to high

If we have an unauthenticated key it is not sufficient to acheive high
security. Therefore, when deciding whether to encrypt the link or
request pairing, it is essential to in addition to checking the
existence of a key to also check whether it is authenticated or not.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/smp.c