diff options
author | Shawn Willden <swillden@google.com> | 2014-12-31 12:14:46 -0700 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2015-03-04 13:22:15 -0700 |
commit | 567a4a04f43d35b785d50508e6459b01f2ab4d14 (patch) | |
tree | 215bc12078d545398b7d58f07b6c6409a98cde4e /hmac_key.cpp | |
parent | 04b3b1ea3af7a9f19d51b8685aa683c08753e23c (diff) | |
download | keymaster-567a4a04f43d35b785d50508e6459b01f2ab4d14.tar.gz |
Switch to using global logger
Change-Id: I7af02342320a9a431cd9845baaf5dbcf61d460c2
Diffstat (limited to 'hmac_key.cpp')
-rw-r--r-- | hmac_key.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/hmac_key.cpp b/hmac_key.cpp index 278fa6d..0f43640 100644 --- a/hmac_key.cpp +++ b/hmac_key.cpp @@ -27,14 +27,11 @@ class HmacKeyFactory : public SymmetricKeyFactory { public: keymaster_algorithm_t registry_key() const { return KM_ALGORITHM_HMAC; } - virtual Key* LoadKey(const UnencryptedKeyBlob& blob, const Logger& logger, - keymaster_error_t* error) { - return new HmacKey(blob, logger, error); + virtual Key* LoadKey(const UnencryptedKeyBlob& blob, keymaster_error_t* error) { + return new HmacKey(blob, error); } - virtual SymmetricKey* CreateKey(const AuthorizationSet& auths, const Logger& logger) { - return new HmacKey(auths, logger); - } + virtual SymmetricKey* CreateKey(const AuthorizationSet& auths) { return new HmacKey(auths); } }; static KeyFactoryRegistry::Registration<HmacKeyFactory> registration; |