diff options
author | Jack Lloyd <[email protected]> | 2017-08-16 04:35:32 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-16 04:35:32 -0400 |
commit | 528d0ae3226932157b54451b0179053ff08e934e (patch) | |
tree | 4b7e2083fbadfe79b1b4b1111e341abdb96461b1 | |
parent | defe02db7b384ce2454122bf61949379e4a8181b (diff) |
More ECDSA Raw(hash) tests
-rw-r--r-- | src/tests/data/pubkey/ecdsa_rfc6979.vec | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/data/pubkey/ecdsa_rfc6979.vec b/src/tests/data/pubkey/ecdsa_rfc6979.vec index 7132038db..b423624c2 100644 --- a/src/tests/data/pubkey/ecdsa_rfc6979.vec +++ b/src/tests/data/pubkey/ecdsa_rfc6979.vec @@ -409,3 +409,20 @@ Group = secp521r1 Hash = Raw(SHA-512) Msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Signature = 0157BC701722FB4853DD9F3E9BBAE977137CF04659B3CF4BD9A3FF47D8E1DF3D7B9A1E291234CD8AE9C9B9711F22C9B3B127F6217A582A9830D75184CB6A6AC174570164A920D8059F8BC21F4FBFDEE3140CF1033F3AB10260A71CBD32197822C3B575BC44DA681EBBB4612357A1E81670B2A76A35DDA2AAE708F7FD7D66D1EAE453249C + +# Test Raw(hash) using RFC 6979 test cases + +Group = secp256r1 +X = 0xC9AFA9D845BA75166B5C215767B1D6934E50C3DB36E89B127B8A622B120F6721 + +Msg = 8151325DCDBAE9E0FF95F9F9658432DBEDFDB209 +Hash = Raw(SHA-1) +Signature = 61340C88C3AAEBEB4F6D667F672CA9759A6CCAA9FA8811313039EE4A35471D326D7F147DAC089441BB2E2FE8F7A3FA264B9C475098FDCF6E00D7C996E1B8B7EB + +Msg = 9003E374BC726550C2C289447FD0533160F875709386DFA377BFD41C +Hash = Raw(SHA-224) +Signature = 53B2FFF5D1752B2C689DF257C04C40A587FABABB3F6FC2702F1343AF7CA9AA3FB9AFB64FDC03DC1A131C7D2386D11E349F070AA432A4ACC918BEA988BF75C74C + +Msg = AF2BDBE1AA9B6EC1E2ADE1D694F41FC71A831D0268E9891562113D8A62ADD1BF +Hash = Raw(SHA-256) +Signature = EFD48B2AACB6A8FD1140DD9CD45E81D69D2C877B56AAF991C34D0EA84EAF3716F7CB1C942D657C41D436C7A1B6E29F65F3E900DBB9AFF4064DC4AB2F843ACDA8 |