History log of /hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/keymaster_utils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/include/keymasterV4_0/keymaster_utils.h
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/include/keymasterV4_0/keymaster_utils.h