aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Cogliani <[email protected]>2016-08-01 22:59:18 +0200
committerSimon Cogliani <[email protected]>2016-08-01 22:59:18 +0200
commit66b336444716a868ac0f9ae464aab5b02a2db8a1 (patch)
tree510705067fd8ab88bf93cf14868e4a7d8f03b37e
parenta7bcb02a26dc095a1b9c7b06b02c9f4412777735 (diff)
Added test vectors ecdsa_rfc6979 for frp256v1
-rw-r--r--src/tests/data/pubkey/ecdsa_rfc6979.vec22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/tests/data/pubkey/ecdsa_rfc6979.vec b/src/tests/data/pubkey/ecdsa_rfc6979.vec
index 311734c97..5aafead36 100644
--- a/src/tests/data/pubkey/ecdsa_rfc6979.vec
+++ b/src/tests/data/pubkey/ecdsa_rfc6979.vec
@@ -340,3 +340,25 @@ Signature = 00C114E2B133AD8E725AF43AEFC381BE87063DB3FC00CAFAEB1949015CF4EC9EC247
Hash = SHA-512
Signature = 0080F3C4742E7341BE2E4D86E88757AB96F62427B500FD634D64F554BEC04211952798147420BBC98E15
+
+# test vectors generated with python-ecdsa with a frp256v1 addition patch
+# https://github.com/warner/python-ecdsa
+
+Group = frp256v1
+X = 0xC9AFA9D845BA75166B5C215767B1D6934E50C3DB36E89B127B8A622B120F6721
+
+Msg = 73616D706C65
+Hash = SHA-1
+Signature = C166CA2860656988B707FBCF329B01A4D8A7DC8585F4AEDDA4BF4040B44033F1310AA6C1F323051C82868F29201511C027445D7F2177E4AF42B85089C836B258
+
+Hash = SHA-224
+Signature = 21FCFA0D5FA4C22615FAF23F4A8881004A71EE40228FD68E4C200668A156696227987B360BCA567173B8F2898E3522D3AD27EF94DCE5163401D1AC596D4041F5
+
+Hash = SHA-256
+Signature = 1E56BDA16AD1CA21C8B56EB11A01C44985A8C71D504E42C554902525F72D975F1CD22B10EA0591A641BDD694EAF9DE6631D0C89425BCAC2AEEB49EBB445D9F05
+
+Hash = SHA-384
+Signature = 0E1F2F0E298D5D281B69D211792C464D4AB540C1A998BAB13855C852C25BEF3D0C8CFED46EECD54EF7B8E4F54FD5B58F8FF713D416FEC1214E6CA874D5FBD842
+
+Hash = SHA-512
+Signature = 0A818869A89433DB9E5838D6934FA7C15259250B8FE025DB3DC41036B120288A6DFB2464BF9062D035A6FBEC2B8B298A53F228DD7E8501BA479C008B060F0DEC