diff options
author | Archie Pusaka <apusaka@chromium.org> | 2020-11-11 14:32:20 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-11-11 10:52:01 +0100 |
commit | 288c06973daae4637f25a0d1bdaf65fdbf8455f9 (patch) | |
tree | bd464be8c34d9bf5561bb7b639e21c922282ad85 /drivers/bluetooth | |
parent | 0d484db60fc0c5f8848939a61004c6fa01fad61a (diff) | |
download | linux-288c06973daae4637f25a0d1bdaf65fdbf8455f9.tar.bz2 |
Bluetooth: Enforce key size of 16 bytes on FIPS level
According to the spec Ver 5.2, Vol 3, Part C, Sec 5.2.2.8:
Device in security mode 4 level 4 shall enforce:
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)
This patch rejects connection with key size below 16 for FIPS
level services.
Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions