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/Keymaster4.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/Keymaster4.h
|
8d28efa9b81a717fb839111e13ba51104269877a |
|
19-Jan-2018 |
Shawn Willden <swillden@google.com> |
Add additional parameters to importWrappedKey Bug: 31675676 Test: VtsHalKeymasterV4_0TargetTest Change-Id: I31166d0c562d92bbdcf3357782ac2a076a1bc2d9
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/Keymaster4.h
|
7d339812c9fd1fc1ba7feaa383543d7bb7ef32f4 |
|
18-Jan-2018 |
Shawn Willden <swillden@google.com> |
Move Keymaster wrapper into support library. This wrapper was used to manage KM3/KM4 compatibility in keystore. It's also needed in vold, so this CL moves it here, to make it usable for vold. Test: keystore CTS tests Change-Id: I8079b8577f7d4a8fd67f47fbe1f48861e4a0734b
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/Keymaster4.h
|