diff options
author | Jack Lloyd <[email protected]> | 2020-10-09 10:15:02 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-10-28 06:03:08 -0400 |
commit | ffaa805a0b2ffa079271a225b4121ecb11f04a7f (patch) | |
tree | b082c1d0966ee8bd71747f75a250d8e54abe82ff /src/tests/data/pubkey/ecdsa_rfc6979.vec | |
parent | 69e54a77bd7860ff2541fcba17e837d17ef95db9 (diff) |
Correct hash to integer conversions for ECDSA
When the hash and group sizes differ sometimes our conversion was
different from standard. Closes #2415
Diffstat (limited to 'src/tests/data/pubkey/ecdsa_rfc6979.vec')
-rw-r--r-- | src/tests/data/pubkey/ecdsa_rfc6979.vec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tests/data/pubkey/ecdsa_rfc6979.vec b/src/tests/data/pubkey/ecdsa_rfc6979.vec index b423624c2..f51069e3e 100644 --- a/src/tests/data/pubkey/ecdsa_rfc6979.vec +++ b/src/tests/data/pubkey/ecdsa_rfc6979.vec @@ -314,16 +314,16 @@ Hash = SHA-1 Signature = 00CC9CD383D3EA80ADC9165C25F6F82A2ABB41943E00A74AEB2B96B8F7D6FC03F67ED226FCE0BAA6D7EB Hash = SHA-224 -Signature = 00AB01FAF31D1044023725665A95CE1AEF6680CE6E00ECEE1D6FED07ACF9ED7F197D2C29022D1592E5DF +Signature = 00FAAD1A32DAC1B1743557B4C0C032A7D5CACAB66500A497A8057EE60D5F9EDD1DEA01843A9E6A8829C6 Hash = SHA-256 -Signature = 00766B26E5C3201982F5B3AB1AC92C018F5A990CB6008C16BF4AB8CF6EE3ED4A821B3A890CD30E2F6925 +Signature = 00432E2CD75D7C8899591A433BC729476914ACCED5007F3373E5D488B639D36358FA0B2DE8FD66216A58 Hash = SHA-384 -Signature = 009AD138B36636B550705112D14574EF6E7996263F00F360D79AD85661B305D56D64A20DA33182E1462B +Signature = 005830E92CA044CDE5E975BA9E1ABE5CE7A89724920076F5EFC6846E3327268790EDDAD561C372038511 Hash = SHA-512 -Signature = 0024A0B0069722A4A3DDAF40B0EE66BAD0B117D658003A6DB6DEEF2EB563115FA48D7E0FECB540802E13 +Signature = 00EBFD570A4A24093B6545486F0EEC08F29B591D7700DE6D60783A0658319E1999BE88EA367960FF7DA8 Msg = 74657374 @@ -331,16 +331,16 @@ Hash = SHA-1 Signature = 007FF876220B4EAF1E1F9C9694685CDA37B1DF45CA00D2A7917831648FB5A3351C22ED605BA8B8B6C16C Hash = SHA-224 -Signature = 00A616A5A4C482D60F44900916D9665BFD090854FC003BD6C529D45F5F70BD6F242981E23A119EEAE23A +Signature = 002FA83E175EB1BC72EEAAF4F14C8F679C6B4C657D00BC92F83742A2361A60294D236BEB88C28306D058 Hash = SHA-256 -Signature = 007F281E95A74F5EF24B40D489AD270284E8E52E5D00F4803ACFD86356DC95E9AD39930C09050C6CCA4B +Signature = 00E761394E3DEF2EE5E5A4BEE3E8C3EAD8D1610012006918F13D4C16C251117FF2FD8725F2E8E986A841 Hash = SHA-384 -Signature = 00C114E2B133AD8E725AF43AEFC381BE87063DB3FC00CAFAEB1949015CF4EC9EC2476F3970D3D97E08FF +Signature = 0096EE7BC69C24BEEFA8057BFFBFAB848ECC3CF470009F3E1A1D176775F91AD8E6B8A4EB184D1D865044 Hash = SHA-512 -Signature = 0080F3C4742E7341BE2E4D86E88757AB96F62427B500FD634D64F554BEC04211952798147420BBC98E15 +Signature = 0022DF62B101659EBC01176C57922A2AD2F2C12E3B0005CD8ADEB71B68A50A98D37B16D22FD60CE95263 # frp256v1 (generated by botan) |