adapter: Load keys that should be blocked by the kernel
authorAlain Michaud <alainm@chromium.org>
Tue, 7 Jan 2020 01:28:22 +0000 (01:28 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
commit5683ddfec45f41add063db50d8be54e18114db59
treec891ef8f02166404d0bbd1f300a934714c09f980
parent607dca12e726f35363f4a64fe4ac98921430e05c
adapter: Load keys that should be blocked by the kernel

This change accomplishes 2 things:
 1. Drop device security data from previously paired devices
 using blocked keys.
 2. Send the list of known bad keys that should be blocked to the kernel
 if supported.

In particular keys from the Google Titan Security key are being
blocked.

For additional background information, please see
https://security.googleblog.com/2019/05/titan-keys-update.html

Change-Id: Ib854cbae108058f2ecb9822d46d621434a980f19
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c