summaryrefslogtreecommitdiff
path: root/hmac_operation.h
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2016-01-27 12:59:13 -0700
committerShawn Willden <swillden@google.com>2016-01-28 16:24:17 -0700
commitcb647fec03f71929fd316d2b8f0750f7b24824f3 (patch)
tree54b208b5c2de82c6ed5b722fdeac91a22dc675b1 /hmac_operation.h
parent4ed2d7ed2275735ddc4952f310badfa4dcbaf04e (diff)
downloadkeymaster-cb647fec03f71929fd316d2b8f0750f7b24824f3.tar.gz
Support input to "finish()" in AndroidKeymaster operations.
This CL does not yet take advantage of the simplifications that allowing input to finish() provides. That will require updating the Java layer first, to remove some assumptions and code that assume update() must eventually consume all input. Change-Id: Ie85896027a1d55ddec06750d19addbb1f5e462c8
Diffstat (limited to 'hmac_operation.h')
-rw-r--r--hmac_operation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hmac_operation.h b/hmac_operation.h
index 9c2d59b..83f2e09 100644
--- a/hmac_operation.h
+++ b/hmac_operation.h
@@ -35,7 +35,7 @@ class HmacOperation : public Operation {
AuthorizationSet* output_params, Buffer* output,
size_t* input_consumed);
virtual keymaster_error_t Abort();
- virtual keymaster_error_t Finish(const AuthorizationSet& additional_params,
+ virtual keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& input,
const Buffer& signature, AuthorizationSet* output_params,
Buffer* output);