aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-22 14:09:09 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-22 14:09:09 -0500
commitc59038c7fe7176dd6e09e592ab8c2530fcd8b506 (patch)
tree8fb7cd597b5ec2938c476454f5ab3b542290b7f9 /tests/primitives
parent49360ddd8c152ddaf156c25c72c0d445bafbac24 (diff)
downloadcryptography-c59038c7fe7176dd6e09e592ab8c2530fcd8b506.tar.gz
cryptography-c59038c7fe7176dd6e09e592ab8c2530fcd8b506.tar.bz2
cryptography-c59038c7fe7176dd6e09e592ab8c2530fcd8b506.zip
add note on hmac truncation vectors
Diffstat (limited to 'tests/primitives')
-rw-r--r--tests/primitives/vectors/RFC/HMAC/rfc-2202-md5.txt1
-rw-r--r--tests/primitives/vectors/RFC/HMAC/rfc-2202-sha1.txt1
-rw-r--r--tests/primitives/vectors/RFC/HMAC/rfc-2286-ripemd160.txt1
3 files changed, 3 insertions, 0 deletions
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