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
diff --git a/ecdsa_operation.cpp b/ecdsa_operation.cpp
index 7ed64a0..63e8655 100644
--- a/ecdsa_operation.cpp
+++ b/ecdsa_operation.cpp
@@ -29,7 +29,8 @@
   public:
     virtual KeyType registry_key() const { return KeyType(KM_ALGORITHM_EC, KM_PURPOSE_SIGN); }
 
-    virtual Operation* CreateOperation(const Key& key, keymaster_error_t* error) {
+    virtual Operation* CreateOperation(const Key& key, const AuthorizationSet& /* begin_params */,
+                                       keymaster_error_t* error) {
         const EcKey* ecdsa_key = static_cast<const EcKey*>(&key);
         if (!ecdsa_key) {
             *error = KM_ERROR_UNKNOWN_ERROR;
@@ -60,7 +61,8 @@
   public:
     virtual KeyType registry_key() const { return KeyType(KM_ALGORITHM_EC, KM_PURPOSE_VERIFY); }
 
-    virtual Operation* CreateOperation(const Key& key, keymaster_error_t* error) {
+    virtual Operation* CreateOperation(const Key& key, const AuthorizationSet& /* begin_params */,
+                                       keymaster_error_t* error) {
         const EcKey* ecdsa_key = static_cast<const EcKey*>(&key);
         if (!ecdsa_key) {
             *error = KM_ERROR_UNKNOWN_ERROR;