commit | f46a299d40f92d9299a00ac0e89c07a0fefadb8d | [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:22:49 2019 |
tree | d72a537038061f0efc358400f2984882a74024fc | |
parent | 13dfab7d9aa3bf9e138ebc92d1be1c4980c7073f [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/1492273 Reviewed-by: Xiaoyong Zhou <xzhou@chromium.org> (cherry picked from commit c7f6fe1c8611d4f0481497abb37e6f14cf9ed805) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1515936