diff options
author | Daniel Neus <[email protected]> | 2016-08-26 13:59:55 +0200 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2016-08-26 13:59:55 +0200 |
commit | 1588710009edd035aab9e12a6a2e8320889c1997 (patch) | |
tree | 8f479013ba7ec48a94bfea729985f2d9c60d1e1a /src/tests/data/pubkey/ecdsa_prob.vec | |
parent | 1354eabeb65a38f933dda42b16f7645a77b4972d (diff) |
Add tests with a message hash that contains leading zeros
Diffstat (limited to 'src/tests/data/pubkey/ecdsa_prob.vec')
-rw-r--r-- | src/tests/data/pubkey/ecdsa_prob.vec | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/data/pubkey/ecdsa_prob.vec b/src/tests/data/pubkey/ecdsa_prob.vec index f400ccd33..17bea592e 100644 --- a/src/tests/data/pubkey/ecdsa_prob.vec +++ b/src/tests/data/pubkey/ecdsa_prob.vec @@ -973,3 +973,15 @@ Msg = dbd8ddc02771a5ff7359d5216536b2e524a2d0b6ff180fa29a41a8847b6f45f1b1d52344d3 X = 0x5da87be7af63fdaf40662bd2ba87597f54d7d52fae4b298308956cddbe5664f1e3c48cc6fd3c99291b0ce7a62a99a855 Nonce = 1b686b45a31b31f6de9ed5362e18a3f8c8feded3d3b251b134835843b7ae8ede57c61dc61a30993123ac7699de4b6eac Signature = 9dbfa147375767dde81b014f1e3bf579c44dd22486998a9b6f9e0920e53faa11eed29a4e2356e393afd1f5c1b060a958e4d318391f7cbfe70da78908d42db85225c85f4f2ff413ecad50aad5833abe91bdd5f6d64b0cd281398eab19452087dd + +# [P-384,SHA-1] + +Group = secp384r1 +Hash = SHA-1 + +# Msg that produces a hash with leading zeros. Test created with BouncyCastle +Msg = FCABA2CF434AC8DCFCEC + +X = 0xc602bc74a34592c311a6569661e0832c84f7207274676cc42a89f058162630184b52f0d99b855a7783c987476d7f9e6b +Nonce = c10b5c25c4683d0b7827d0d88697cdc0932496b5299b798c0dd1e7af6cc757ccb30fcd3d36ead4a804877e24f3a32443 +Signature = B11DB00CDAF53286D4483F38CD02785948477ED7EBC2AD609054551DA0AB0359978C61851788AA2EC3267946D440E8789ECD85E3F062E0713ACC8A1CD6FA22BB4C5F99868D6780C3CD4F91899513F09017E3AD4CFF7A08F35421C488E1E0A1D2 |