aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/prf_tls/prf_tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/kdf/prf_tls/prf_tls.h')
-rw-r--r--src/lib/kdf/prf_tls/prf_tls.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/kdf/prf_tls/prf_tls.h b/src/lib/kdf/prf_tls/prf_tls.h
index e2289a6e8..bb7cc2c4f 100644
--- a/src/lib/kdf/prf_tls/prf_tls.h
+++ b/src/lib/kdf/prf_tls/prf_tls.h
@@ -19,9 +19,9 @@ namespace Botan {
class BOTAN_DLL TLS_PRF : public KDF
{
public:
- std::string name() const { return "TLS-PRF"; }
+ std::string name() const override { return "TLS-PRF"; }
- KDF* clone() const { return new TLS_PRF; }
+ KDF* clone() const override { return new TLS_PRF; }
size_t kdf(byte key[], size_t key_len,
const byte secret[], size_t secret_len,
@@ -39,9 +39,9 @@ class BOTAN_DLL TLS_PRF : public KDF
class BOTAN_DLL TLS_12_PRF : public KDF
{
public:
- std::string name() const { return "TLS-12-PRF(" + m_mac->name() + ")"; }
+ std::string name() const override { return "TLS-12-PRF(" + m_mac->name() + ")"; }
- KDF* clone() const { return new TLS_12_PRF(m_mac->clone()); }
+ KDF* clone() const override { return new TLS_12_PRF(m_mac->clone()); }
size_t kdf(byte key[], size_t key_len,
const byte secret[], size_t secret_len,