From ace625e4f897838ac6e9b29c0701b1b6d44465cd Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Sun, 13 Nov 2016 12:39:06 +0100 Subject: 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(). --- src/lib/kdf/prf_x942/prf_x942.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/kdf') 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); } -- cgit v1.2.3