diff options
Diffstat (limited to 'src/lib/pbkdf/pbkdf2/pbkdf2.h')
-rw-r--r-- | src/lib/pbkdf/pbkdf2/pbkdf2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/pbkdf/pbkdf2/pbkdf2.h b/src/lib/pbkdf/pbkdf2/pbkdf2.h index d74410b89..5a03e9ff5 100644 --- a/src/lib/pbkdf/pbkdf2/pbkdf2.h +++ b/src/lib/pbkdf/pbkdf2/pbkdf2.h @@ -30,12 +30,12 @@ class BOTAN_DLL PKCS5_PBKDF2 : public PBKDF public: std::string name() const override { - return "PBKDF2(" + mac->name() + ")"; + return "PBKDF2(" + m_mac->name() + ")"; } PBKDF* clone() const override { - return new PKCS5_PBKDF2(mac->clone()); + return new PKCS5_PBKDF2(m_mac->clone()); } size_t pbkdf(byte output_buf[], size_t output_len, @@ -48,11 +48,11 @@ class BOTAN_DLL PKCS5_PBKDF2 : public PBKDF * Create a PKCS #5 instance using the specified message auth code * @param mac_fn the MAC object to use as PRF */ - PKCS5_PBKDF2(MessageAuthenticationCode* mac_fn) : mac(mac_fn) {} + PKCS5_PBKDF2(MessageAuthenticationCode* mac_fn) : m_mac(mac_fn) {} static PKCS5_PBKDF2* make(const Spec& spec); private: - std::unique_ptr<MessageAuthenticationCode> mac; + std::unique_ptr<MessageAuthenticationCode> m_mac; }; } |