diff options
author | René Korthaus <[email protected]> | 2016-11-13 12:39:06 +0100 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-11-15 22:06:07 +0100 |
commit | ace625e4f897838ac6e9b29c0701b1b6d44465cd (patch) | |
tree | a182ef4690d1f0075f0946f3508ce385559ef512 /src/lib | |
parent | ca972385dd259f1a80d37b153a504fc14b370795 (diff) |
Add a test for KDF::name()
This required fixing some test vectors that previously
omitted the MAC, defaulting to HMAC, that used the SHA-1
alias to SHA-160, and fixing X942_PRF::name().
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/kdf/prf_x942/prf_x942.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kdf/prf_x942/prf_x942.h b/src/lib/kdf/prf_x942/prf_x942.h index afe56de80..2c02f3b9e 100644 --- a/src/lib/kdf/prf_x942/prf_x942.h +++ b/src/lib/kdf/prf_x942/prf_x942.h @@ -18,7 +18,7 @@ namespace Botan { class BOTAN_DLL X942_PRF final : public KDF { public: - std::string name() const override { return "X942_PRF(" + m_key_wrap_oid + ")"; } + std::string name() const override { return "X9.42-PRF(" + m_key_wrap_oid + ")"; } KDF* clone() const override { return new X942_PRF(m_key_wrap_oid); } |