platform_hardware_interfaces/keymaster/4.0
Janis Danisevskis 2ecd6597f3 Various fixes for async keystore.
* Added missing Tag::HARDWARE_TYPE and Tag::TRUSTED_CONFIRMATION_REQUIRED
* Made AuthorizationSet::hidl_data() safer to use.
  hidl_data() initializes a hidl_vec with the internal data of
  std::vector using setToExternal and returns it by value. This means
  the returned temporay does not own the buffer which has the life cycle
  of the AuthorizationSet. This is fine if passed as parameter to a
  function where it is bound to a cont reference. But if the temporary
  gets assigned to something with longer life cycle move semantics kicks
  in and the buffer is now tracked by something with a longer life
  cycle. This patch marks the returned temporary const, so that it can
  no longer be moved. It can still be bound to a const reference, but
  when assigned to a variable it must get copied.
* Add Filter function to AuthorizationSet.

Bug: 111443219
Test: KeyStore CTS tests
Change-Id: I4744b7c87d01fbd905c3afb8ebeefba93605994b
2018-11-07 11:32:03 -08:00
..
default Fix default keymaster so it doesn't start an extra thread. 2018-05-24 20:52:11 +00:00
support Various fixes for async keystore. 2018-11-07 11:32:03 -08:00
vts Don't use initializer_list as return type 2018-09-21 15:36:57 -07:00
Android.bp Update makefiles. 2018-01-23 19:44:19 +00:00
IKeymasterDevice.hal Fixed minor comment typos in IKeymasterDevice.hal 2018-09-26 06:10:20 +00:00
types.hal Minor corrections to the Keymaster4 documentation. 2018-05-30 16:20:48 -06:00