diff options
author | Shawn Willden <swillden@google.com> | 2016-01-27 12:59:13 -0700 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2016-01-28 16:24:17 -0700 |
commit | cb647fec03f71929fd316d2b8f0750f7b24824f3 (patch) | |
tree | 54b208b5c2de82c6ed5b722fdeac91a22dc675b1 /hmac_operation.h | |
parent | 4ed2d7ed2275735ddc4952f310badfa4dcbaf04e (diff) | |
download | keymaster-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.h | 2 |
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); |