commit | 33b5e38acfce52b537bf82e3f5d3cadf6e627976 | [log] [tgz] |
---|---|---|
author | Garret Kelly <gdk@google.com> | Tue May 21 15:18:20 2019 -0400 |
committer | Garret Kelly <gdk@google.com> | Tue May 21 15:19:34 2019 -0400 |
tree | 2c4ea6f287be23d742aa74c73c6956a8efc043a0 | |
parent | 53ef156e633540c9732cab949930e3c4df74eaa3 [diff] |
keymaster: Fix callback invocations Fix a pair of sites where a HIDL callback is being invoked potentially more than once, or invalid data is being after an error has already been reported to the caller. Bug: None Test: None Signed-off-by: Garret Kelly <gdk@google.com> Change-Id: Ifd8e5d8c30705485a9a1ff191a80f1ae9c2d751a
Android communicates with Nugget apps in order to implement security related HALs. Currently, those HALs are Keymaster, Weaver and OemLock.
Apps that define a protobuf service will have an app interface class autogenerated. These classes will wrap a NuggetClient
. The generator can be found in the generator
directory.
Work in progress.
Currently, everything is synchronous and just exposes the call_application()
function from the Nugget transport API. In future, asynchronous calls may be desired. Support for this could be added in:
NuggetClient
on top of call_application()
citadel
This directory contains the components to support Citadel connected to Android.