Multi-threaded keystore
This patches changes the keystore to use the asychronous api model for
begin, update, finish, and abort.
Also removes unused class KeystoreArguments (aidl and implementation).
Test: Keystore CTS tests
Bug: 111443219
Change-Id: Icc6def9ff6dbe32193272d7d015079a006ebc430
diff --git a/keystore/Android.bp b/keystore/Android.bp
index 1168e90..295d605 100644
--- a/keystore/Android.bp
+++ b/keystore/Android.bp
@@ -139,10 +139,10 @@
"KeyAttestationApplicationId.cpp",
"KeyAttestationPackageInfo.cpp",
"KeymasterArguments.cpp",
- "KeystoreArguments.cpp",
+ "keystore_aidl_hidl_marshalling_utils.cpp",
+ "KeystoreResponse.cpp",
"OperationResult.cpp",
"Signature.cpp",
- "keystore_aidl_hidl_marshalling_utils.cpp",
],
shared_libs: [
"android.hardware.keymaster@4.0",
@@ -269,7 +269,12 @@
name: "keystore_aidl",
srcs: [
"binder/android/security/IConfirmationPromptCallback.aidl",
- "binder/android/security/IKeystoreService.aidl",
+ "binder/android/security/keystore/IKeystoreCertificateChainCallback.aidl",
+ "binder/android/security/keystore/IKeystoreExportKeyCallback.aidl",
+ "binder/android/security/keystore/IKeystoreKeyCharacteristicsCallback.aidl",
+ "binder/android/security/keystore/IKeystoreOperationResultCallback.aidl",
+ "binder/android/security/keystore/IKeystoreResponseCallback.aidl",
+ "binder/android/security/keystore/IKeystoreService.aidl",
],
path: "binder",
}