diff options
-rw-r--r-- | src/tests/data/pubkey/ecdsa_rfc6979.vec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/data/pubkey/ecdsa_rfc6979.vec b/src/tests/data/pubkey/ecdsa_rfc6979.vec index 3015ea3b8..98c2e2f6c 100644 --- a/src/tests/data/pubkey/ecdsa_rfc6979.vec +++ b/src/tests/data/pubkey/ecdsa_rfc6979.vec @@ -371,4 +371,8 @@ X = 0x0FAD06DAA62BA3B25D2FB40133DA757205DE67F5BB0018FEE8C86E1B68C7E75CAA896EB32F Msg = FCABA2CF434AC8DCFCEC Hash = SHA-1 -Signature = 19F10F75FA90A9129D596F3461829B3FE24DA8344C09CABA4F5BBEE36F246C356ED95C609E76D2B3B17480D45CBF11FAF395846BD3978657F8932345EE284ED32D11C07B02B74254F6F1C715D1A63B9FAA30E43C72645D20F30525EB88BB675C3BAEE1D20BAFA463F899253F5557033EDFC41F9748010FEDF73612774AC99A3B21082D
\ No newline at end of file + +# For P-521 signature BouncyCastle does not include the leading 0 +# nibbles in (r,s) leading to a 1 byte shorter signature. Botan +# doesn't handle this, so this was modified to insert 0s where needed +Signature = 019F10F75FA90A9129D596F3461829B3FE24DA8344C09CABA4F5BBEE36F246C356ED95C609E76D2B3B17480D45CBF11FAF395846BD3978657F8932345EE284ED32D101C07B02B74254F6F1C715D1A63B9FAA30E43C72645D20F30525EB88BB675C3BAEE1D20BAFA463F899253F5557033EDFC41F9748010FEDF73612774AC99A3B21082D |