diff options
author | Jack Lloyd <[email protected]> | 2018-05-21 19:44:32 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-10 07:14:39 -0500 |
commit | df760ea61ae294f7d23572cf9104d55c63e94632 (patch) | |
tree | 9624015bb2dd202e02b3326722c27b7ff928718d /src/tests/data | |
parent | da6fda36e106404482db9cefdc6ef947a160dcb1 (diff) |
Support recovering ECDSA public key from message/signature pair
See http://www.secg.org/sec1-v2.pdf section 4.1.6
Closes #664
Diffstat (limited to 'src/tests/data')
-rw-r--r-- | src/tests/data/pubkey/ecdsa_key_recovery.vec | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tests/data/pubkey/ecdsa_key_recovery.vec b/src/tests/data/pubkey/ecdsa_key_recovery.vec new file mode 100644 index 000000000..c753d0bdb --- /dev/null +++ b/src/tests/data/pubkey/ecdsa_key_recovery.vec @@ -0,0 +1,16 @@ + +Group = secp256k1 +R = 0xE30F2E6A0F705F4FB5F8501BA79C7C0D3FAC847F1AD70B873E9797B17B89B390 +S = 0x81F1A4457589F30D76AB9F89E748A68C8A94C30FE0BAC8FB5C0B54EA70BF6D2F +Msg = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF +V = 0 +PubkeyX = 0xF3F8BB913AA68589A2C8C607A877AB05252ADBD963E1BE846DDEB8456942AEDC +PubkeyY = 0xA2ED51F08CA3EF3DAC0A7504613D54CD539FC1B3CBC92453CD704B6A2D012B2C + +Group = secp256r1 +R = 0x2AC979EB6C7502A49CACC0995A2B9C50192F334B742573767ADD6DCB01343D50 +S = 0xF444D29AFCA529A0A96467DAA5E881B1C60C73273E099DF7C910BD4EED0502D6 +V = 1 +Msg = 3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E +PubkeyX = 0x89F5662F5D9DE780184E3A2E1D170D6D30FF28F03E030C9CA99F3DB670E5DBB8 +PubkeyY = 0xEDDB57C7ACA9711D3CF67A2699792F76EE15A8129449D8A450D371CEFF2E00C7 |