diff options
author | Shawn Willden <swillden@google.com> | 2015-04-15 13:39:38 -0600 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2015-04-29 22:57:27 -0600 |
commit | 3ed6d06a378c29deacb1fb9cc33b599b309c3a52 (patch) | |
tree | 7ffc22a3b62347457e7784bfda07b14e07a5776f /operation.h | |
parent | 148a75b7804d0ab2fce8f0859b054c08ebd32793 (diff) | |
download | android_system_keymaster-3ed6d06a378c29deacb1fb9cc33b599b309c3a52.tar.gz android_system_keymaster-3ed6d06a378c29deacb1fb9cc33b599b309c3a52.tar.bz2 android_system_keymaster-3ed6d06a378c29deacb1fb9cc33b599b309c3a52.zip |
Add begin_params to CreationOperation.
Allowing several crypto parameters to be repeated on keys means we need
to be able to specify them at operation time, which means they'll be
passed in to the begin() params. This change makes it possible for
operations to actually receive these values.
Bug: 19509156
Change-Id: I4504f5206d93ce3040b6a5a8d8dacb5b08eb2b90
Diffstat (limited to 'operation.h')
-rw-r--r-- | operation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/operation.h b/operation.h index 24878ca..4156ed3 100644 --- a/operation.h +++ b/operation.h @@ -52,7 +52,8 @@ class OperationFactory { virtual KeyType registry_key() const = 0; // Factory methods - virtual Operation* CreateOperation(const Key& key, keymaster_error_t* error) = 0; + virtual Operation* CreateOperation(const Key& key, const AuthorizationSet& begin_params, + keymaster_error_t* error) = 0; // Informational methods. The returned arrays reference static memory and must not be // deallocated or modified. |