aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/kdf/hkdf/hkdf.h4
-rw-r--r--src/lib/kdf/prf_tls/prf_tls.h8
-rw-r--r--src/lib/kdf/prf_x942/prf_x942.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/kdf/hkdf/hkdf.h b/src/lib/kdf/hkdf/hkdf.h
index c5737b1cc..d8389a886 100644
--- a/src/lib/kdf/hkdf/hkdf.h
+++ b/src/lib/kdf/hkdf/hkdf.h
@@ -25,9 +25,9 @@ class BOTAN_DLL HKDF : public KDF
static HKDF* make(const Spec& spec);
- KDF* clone() const { return new HKDF(m_prf->clone()); }
+ KDF* clone() const override { return new HKDF(m_prf->clone()); }
- std::string name() const { return "HKDF(" + m_prf->name() + ")"; }
+ std::string name() const override { return "HKDF(" + m_prf->name() + ")"; }
size_t kdf(byte out[], size_t out_len,
const byte secret[], size_t secret_len,
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,
diff --git a/src/lib/kdf/prf_x942/prf_x942.h b/src/lib/kdf/prf_x942/prf_x942.h
index 242a83150..d0b23067c 100644
--- a/src/lib/kdf/prf_x942/prf_x942.h
+++ b/src/lib/kdf/prf_x942/prf_x942.h
@@ -18,9 +18,9 @@ namespace Botan {
class BOTAN_DLL X942_PRF : public KDF
{
public:
- std::string name() const { return "X942_PRF(" + m_key_wrap_oid + ")"; }
+ std::string name() const override { return "X942_PRF(" + m_key_wrap_oid + ")"; }
- KDF* clone() const { return new X942_PRF(m_key_wrap_oid); }
+ KDF* clone() const override { return new X942_PRF(m_key_wrap_oid); }
size_t kdf(byte key[], size_t key_len,
const byte secret[], size_t secret_len,