summaryrefslogtreecommitdiff
path: root/security/keymint/aidl/default/RemotelyProvisionedComponent.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-04-19 22:04:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-04-19 22:04:32 +0000
commited54acfbff499fedf179910cb43a4c0f91d902e9 (patch)
tree09c99105119098ac95063f77d67f3753c1b82bf6 /security/keymint/aidl/default/RemotelyProvisionedComponent.cpp
parent4b84c912a006f6614dc82da69c2c19850db2e05e (diff)
parent4190509ed6fd13262daaaf783415306dfa30a313 (diff)
Merge "Adding getHardwareInfo to IRPC"
Diffstat (limited to 'security/keymint/aidl/default/RemotelyProvisionedComponent.cpp')
-rw-r--r--security/keymint/aidl/default/RemotelyProvisionedComponent.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/security/keymint/aidl/default/RemotelyProvisionedComponent.cpp b/security/keymint/aidl/default/RemotelyProvisionedComponent.cpp
index 6007663b58..e21efb7396 100644
--- a/security/keymint/aidl/default/RemotelyProvisionedComponent.cpp
+++ b/security/keymint/aidl/default/RemotelyProvisionedComponent.cpp
@@ -124,6 +124,13 @@ RemotelyProvisionedComponent::RemotelyProvisionedComponent(
RemotelyProvisionedComponent::~RemotelyProvisionedComponent() {}
+ScopedAStatus RemotelyProvisionedComponent::getHardwareInfo(RpcHardwareInfo* info) {
+ info->versionNumber = 1;
+ info->rpcAuthorName = "Google";
+ info->supportedEekCurve = RpcHardwareInfo::CURVE_25519;
+ return ScopedAStatus::ok();
+}
+
ScopedAStatus RemotelyProvisionedComponent::generateEcdsaP256KeyPair(bool testMode,
MacedPublicKey* macedPublicKey,
bytevec* privateKeyHandle) {