diff options
Diffstat (limited to 'src/tests/data/rfc6979.vec')
-rw-r--r-- | src/tests/data/rfc6979.vec | 14 |
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 |