commit | eadd403ee0ccfa003fee0b07e94fc63fab29eed4 | [log] [tgz] |
---|---|---|
author | Sonny Sasaka <sonnysasaka@chromium.org> | Tue Feb 12 19:05:02 2019 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Mon Mar 11 21:28:28 2019 |
tree | c521ed16376df62c6ea7ba90dca5faf5de3e5748 | |
parent | 24f948f321a41c5dd772e00bcf2dc3c2b89fb705 [diff] |
CHROMIUM: Drop Bluetooth connection with weak encryption key This aborts any connection with encryption key shorter than 7 octets. BUG=chromium:929763 TEST=Tested with MIN_ENC_KEY_LEN=17 and check that every connection should be immediately dropped. With MIN_ENC_KEY_LEN=16 check that connection with devices that support 16 bytes (most devices) are not dropped. Change-Id: I0e6578132e116f010d7c703194c00878d29bda58 Signed-off-by: Sonny Sasaka <sonnysasaka@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1492005 Reviewed-by: Xiaoyong Zhou <xzhou@chromium.org> (cherry picked from commit 5d764dd832e7a93c56989313e69e09bd461e8096) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1515962