History log of /hardware/interfaces/keymaster/4.0/support/Keymaster.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6dad2b3a4b16c7c6b2b866844484c5eb76468619 23-May-2018 Shawn Willden <swillden@google.com> Activate HMAC sharing check.

This had to be disabled because Qualcomm's keymaster4 returned a bad
value.

Bug: 77588764
Bug: 79698245
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: Ieb150d7f17c36f01acf2eeb665792594251b51ae
/hardware/interfaces/keymaster/4.0/support/Keymaster.cpp
f0f05d4052347dabe063f034956df3b6ed2ad5e1 02-May-2018 Shawn Willden <swillden@google.com> Add utility method to perform HMAC agreement

To make it easier for clients (vold & keystore) to perform key
agreement, this CL adds a service method that does it. To make key
agreement consistent, this method sorts the HMAC sharing parameters
lexicographically. The requirement for sorting is documented in the
HAL.

Test: Boot device
Bug: 79307225
Bug: 78766190
Change-Id: Idb224f27f8e4426281d9a0105605ba22bf7c7e95
/hardware/interfaces/keymaster/4.0/support/Keymaster.cpp
9c36c919457fe2ccd6757620122d35069e26bf8d 31-Mar-2018 nagendra modadugu <ngm@google.com> keymaster: provide instance name to getService()

Bug: 38430282
Test: VtsHalKeymasterV3_0TargetTest pass with exception
of (AesEcbWithUserId, RsaAttestation, EcAttestation)
which are expected failures.

Change-Id: I48e7195f512190deb608f1a69783c92254eef1aa
/hardware/interfaces/keymaster/4.0/support/Keymaster.cpp
98b998b59a417bb22b88587eac8311efd08169b9 20-Jan-2018 Shawn Willden <swillden@google.com> Support library enhancements, to ease transition of vold to KM4

Keymaster clients need to see all the available devices and figure out
which they want to use. This method finds them all and returns them
in a vector sorted from most secure to least, according to a heuristic
defined in Keymaster::VersionResult::operator<

This CL also makes a few other minor improvements to the support
library, providing more information in VersionResult and adding some
more convenience methods in AuthorizationSetBuilder.

Test: Build & boot
Change-Id: I876238ee9ff72573c30d60e1cec665dd610bcde6
/hardware/interfaces/keymaster/4.0/support/Keymaster.cpp