platform_system_security/keystore2
Janis Danisevskis d0e0888e89 Keystore 2.0: Fix shared secret negotiation for Keymaster 4.x
The km_compat legacy wrapper would only cache the first shared secret
participant and then return this participant regardless of which
security level was requested. As a result only one Keymaster instance
would take part in the shared secret negotiation.

This patch adds a per security level cache for ISharedSecret instances
to km_compat. It filters Keymaster instances in Keystore 2.0 to only
include the highest version of each HIDL Keymaster security level.

Bug: 190539964
Test: See b/190539964
Merged-In: I0b73da88d3e1b6900cfb332c1befc704eca59cc5
Change-Id: I0b73da88d3e1b6900cfb332c1befc704eca59cc5
2021-06-09 10:59:08 -07:00
..
aaid Use the new more inclusive command-line options. 2021-04-19 09:02:41 -07:00
aidl Biometric support for UNLOCKED_DEVICE_REQUIRED 2021-04-27 12:11:25 -07:00
apc_compat Use the new more inclusive command-line options. 2021-04-19 09:02:41 -07:00
selinux Fix typo 2021-05-25 10:09:36 -07:00
src Keystore 2.0: Fix shared secret negotiation for Keymaster 4.x 2021-06-09 10:59:08 -07:00
system_property Merge changes from topic "keystore2-metrics" 2021-04-20 16:00:46 +00:00
test_utils Keystore 2.0: Move test utils to separate library. 2021-01-26 15:34:01 -08:00
vpnprofilestore Set write-ahead logging once at boot 2021-05-12 16:37:12 -07:00
Android.bp Keystore 2.0: CLI fixes. 2021-05-17 13:41:32 -07:00
android.system.keystore2-service.xml Add VINTF manifest for android.system.keystore2 2021-03-22 11:46:49 -07:00
keystore2.rc Keystore 2.0: Start keystore2 unconditionally. 2021-03-17 08:17:12 -07:00
TEST_MAPPING keystore2: Also run CtsIdentityTestCases on presubmit. 2021-03-23 12:11:48 -04:00