diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-05-21 00:20:14 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-06-22 19:56:10 +0300 |
commit | 8746f135bb01872ff412d408ea1aa9ebd328c1f5 (patch) | |
tree | 803d69de28bfd6a967a8e4614deb98e54e635077 /drivers/regulator/max8973-regulator.c | |
parent | 5cbd3ebde859bd43bd0584c146060638b1a3abb4 (diff) | |
download | linux-8746f135bb01872ff412d408ea1aa9ebd328c1f5.tar.xz |
Bluetooth: Disconnect if E0 is used for Level 4
E0 is not allowed with Level 4:
BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part C page 1319:
'128-bit equivalent strength for link and encryption keys
required using FIPS approved algorithms (E0 not allowed,
SAFER+ not allowed, and P-192 not allowed; encryption key
not shortened'
SC enabled:
> HCI Event: Read Remote Extended Features (0x23) plen 13
Status: Success (0x00)
Handle: 256
Page: 1/2
Features: 0x0b 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Secure Simple Pairing (Host Support)
LE Supported (Host)
Secure Connections (Host Support)
> HCI Event: Encryption Change (0x08) plen 4
Status: Success (0x00)
Handle: 256
Encryption: Enabled with AES-CCM (0x02)
SC disabled:
> HCI Event: Read Remote Extended Features (0x23) plen 13
Status: Success (0x00)
Handle: 256
Page: 1/2
Features: 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Secure Simple Pairing (Host Support)
LE Supported (Host)
> HCI Event: Encryption Change (0x08) plen 4
Status: Success (0x00)
Handle: 256
Encryption: Enabled with E0 (0x01)
[May 8 20:23] Bluetooth: hci0: Invalid security: expect AES but E0 was used
< HCI Command: Disconnect (0x01|0x0006) plen 3
Handle: 256
Reason: Authentication Failure (0x05)
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/regulator/max8973-regulator.c')
0 files changed, 0 insertions, 0 deletions