commit | 30724a30e4f92f0ccd9ca80299eab70bd456f7f8 | [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:30 2019 |
tree | 6438d0bc9ef328ff4f2e67cc7153cb992ffc4ce5 | |
parent | bf14c63740377b9d9585860056d985362bb86f03 [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/1492008 Reviewed-by: Xiaoyong Zhou <xzhou@chromium.org> (cherry picked from commit c5dd2f01a545e70b51b33e86628af347ec690c0c) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1515961