aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/rfc6979.vec
diff options
context:
space:
mode:
authorMatej Kenda <[email protected]>2015-11-19 16:51:27 +0100
committerMatej Kenda <[email protected]>2015-11-19 16:51:27 +0100
commitfb103b7d1fe333b3d7424a36ea2f9b90df8b49ef (patch)
tree4606a4ba9cc981cc0d975f0ec7724d060424e5e1 /src/tests/data/rfc6979.vec
parent94d89769739ebe05e048f217b03672fb0c336fca (diff)
parent9bff61f4c577661bf4a62a860baf190d4ea8ed6a (diff)
Merge branch 'master' of github.com:randombit/botan into fix_algo_registry_locking_windows
Diffstat (limited to 'src/tests/data/rfc6979.vec')
-rw-r--r--src/tests/data/rfc6979.vec14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/data/rfc6979.vec b/src/tests/data/rfc6979.vec
new file mode 100644
index 000000000..a1c54b29b
--- /dev/null
+++ b/src/tests/data/rfc6979.vec
@@ -0,0 +1,14 @@
+
+[SHA-256]
+# From RFC 6979 A.1.1
+Q = 0x4000000000000000000020108A2E0CC0D99F8A5EF
+X = 0x09A4D6792295A7F730FC3F2B49CBC0F62E862272F
+H = 0x01795EDF0D54DB760F156D0DAC04C0322B3A204224
+K = 0x23AF4074C90A02B3FE61D286D5C87F425E6BDD81B
+
+[SHA-1]
+# DSA 1024 bits test #1
+Q = 0x996F967F6C8E388D9E28D01E205FBA957A5698B1
+X = 0x411602CB19A6CCC34494D79D98EF1E7ED5AF25F7
+H = 0x8151325DCDBAE9E0FF95F9F9658432DBEDFDB209
+K = 0x7BDB6B0FF756E1BB5D53583EF979082F9AD5BD5B