summaryrefslogtreecommitdiffstats
path: root/km_openssl/hmac_operation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'km_openssl/hmac_operation.cpp')
-rw-r--r--km_openssl/hmac_operation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/km_openssl/hmac_operation.cpp b/km_openssl/hmac_operation.cpp
index 30edf36..46941dc 100644
--- a/km_openssl/hmac_operation.cpp
+++ b/km_openssl/hmac_operation.cpp
@@ -35,7 +35,7 @@ typedef int openssl_size_t;
namespace keymaster {
OperationPtr HmacOperationFactory::CreateOperation(Key&& key, const AuthorizationSet& begin_params,
- keymaster_error_t* error) {
+ keymaster_error_t* error) const {
uint32_t min_mac_length_bits;
if (!key.authorizations().GetTagValue(TAG_MIN_MAC_LENGTH, &min_mac_length_bits)) {
LOG_E("HMAC key must have KM_TAG_MIN_MAC_LENGTH", 0);