commit | 8c179d347b54ac301e5bdc9e10b3e95d12f39e89 | [log] [tgz] |
---|---|---|
author | nagendra modadugu <ngm@google.com> | Fri Jul 27 14:37:11 2018 -0700 |
committer | nagendra modadugu <ngm@google.com> | Fri Jul 27 14:37:11 2018 -0700 |
tree | fbf7354c6e846450cb73967d073a374d3c0a4779 | |
parent | c33f79118d6980b9b1bae5183067f0868cc6102d [diff] |
keymaster: skip provisioning status info rpc Eliminate the rpc to Citadel that detects the current provisioning status. This check was purely informational anyway, and was resulting in a boot delay as wait_for_keymasters will block device boot. This change cuts ~100ms off boot time. Bug: 111074890 Test: wait_for_keymasters is done in ~3ms Change-Id: I8e4bd69af62f6d0ec5a14358545fef7579137949
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.