Migrating remote provisioning service functionality
The initial implementation of the IRemotelyProvisionedComponent HAL had
everything being done in the userspace portion of the process, including
the sensitive crypto. This change ports that functionality to
system/keymaster. This includes changes to the following components to
work in this module to AndroidKeymaster:
-Additions to keymaster_messages to support the two new methods:
GenerateCsr and GenerateRkpKey.
-The creation of a new RemoteProvisioningContext class to abstract away
the implementation specific details from AndroidKeymaster.
-A handful of added utility functions/files.
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Ic901cea79e075a170635cb3697c065fbbd020417
19 files changed