Switch to using global logger
Change-Id: I7af02342320a9a431cd9845baaf5dbcf61d460c2
diff --git a/aes_key.cpp b/aes_key.cpp
index 87a63a7..2519f61 100644
--- a/aes_key.cpp
+++ b/aes_key.cpp
@@ -30,14 +30,11 @@
public:
keymaster_algorithm_t registry_key() const { return KM_ALGORITHM_AES; }
- virtual Key* LoadKey(const UnencryptedKeyBlob& blob, const Logger& logger,
- keymaster_error_t* error) {
- return new AesKey(blob, logger, error);
+ virtual Key* LoadKey(const UnencryptedKeyBlob& blob, keymaster_error_t* error) {
+ return new AesKey(blob, error);
}
- virtual SymmetricKey* CreateKey(const AuthorizationSet& auths, const Logger& logger) {
- return new AesKey(auths, logger);
- }
+ virtual SymmetricKey* CreateKey(const AuthorizationSet& auths) { return new AesKey(auths); }
};
static KeyFactoryRegistry::Registration<AesKeyFactory> registration;