From c59038c7fe7176dd6e09e592ab8c2530fcd8b506 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 22 Oct 2013 14:09:09 -0500 Subject: add note on hmac truncation vectors --- tests/primitives/vectors/RFC/HMAC/rfc-2202-md5.txt | 1 + tests/primitives/vectors/RFC/HMAC/rfc-2202-sha1.txt | 1 + tests/primitives/vectors/RFC/HMAC/rfc-2286-ripemd160.txt | 1 + 3 files changed, 3 insertions(+) (limited to 'tests/primitives/vectors') diff --git a/tests/primitives/vectors/RFC/HMAC/rfc-2202-md5.txt b/tests/primitives/vectors/RFC/HMAC/rfc-2202-md5.txt index cb7cf0fb..41228461 100644 --- a/tests/primitives/vectors/RFC/HMAC/rfc-2202-md5.txt +++ b/tests/primitives/vectors/RFC/HMAC/rfc-2202-md5.txt @@ -25,6 +25,7 @@ MD = 697eaf0aca3a3aea3a75164746ffaa79 Len = 160 Key = 0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c +# Note: We test the full MD rather than the truncated one in this test # "Test With Truncation" Msg = 546573742057697468205472756e636174696f6e MD = 56461ef2342edc00f9bab995690efd4c diff --git a/tests/primitives/vectors/RFC/HMAC/rfc-2202-sha1.txt b/tests/primitives/vectors/RFC/HMAC/rfc-2202-sha1.txt index 656d5f25..80238303 100644 --- a/tests/primitives/vectors/RFC/HMAC/rfc-2202-sha1.txt +++ b/tests/primitives/vectors/RFC/HMAC/rfc-2202-sha1.txt @@ -25,6 +25,7 @@ MD = 4c9007f4026250c6bc8414f9bf50c86c2d7235da Len = 160 Key = 0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c +# Note: We test the full MD rather than the truncated one in this test # "Test With Truncation" Msg = 546573742057697468205472756e636174696f6e MD = 4c1a03424b55e07fe7f27be1d58bb9324a9a5a04 diff --git a/tests/primitives/vectors/RFC/HMAC/rfc-2286-ripemd160.txt b/tests/primitives/vectors/RFC/HMAC/rfc-2286-ripemd160.txt index 8408bd5b..62e09922 100644 --- a/tests/primitives/vectors/RFC/HMAC/rfc-2286-ripemd160.txt +++ b/tests/primitives/vectors/RFC/HMAC/rfc-2286-ripemd160.txt @@ -25,6 +25,7 @@ MD = d5ca862f4d21d5e610e18b4cf1beb97a4365ecf4 Len = 160 Key = 0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c +# Note: We test the full MD rather than the truncated one in this test # "Test With Truncation" Msg = 546573742057697468205472756e636174696f6e MD = 7619693978f91d90539ae786500ff3d8e0518e39 -- cgit v1.2.3