summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2018-07-03 15:03:31 +0200
committerJ08nY2018-07-03 15:03:31 +0200
commit050541a45d16597099e86b14d0fdf4e123a8e93e (patch)
tree89edb54ae4c0632788d8287278922a0ec85691eb
parentb6677f491dee8cf93d10b11c0c6e4537f009d6ba (diff)
downloadECTester-050541a45d16597099e86b14d0fdf4e123a8e93e.tar.gz
ECTester-050541a45d16597099e86b14d0fdf4e123a8e93e.tar.zst
ECTester-050541a45d16597099e86b14d0fdf4e123a8e93e.zip
-rw-r--r--README.md2
-rw-r--r--docs/CURVES.md10
-rw-r--r--docs/TESTS.md3
3 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7b280bb..9305e3c 100644
--- a/README.md
+++ b/README.md
@@ -94,6 +94,8 @@ See `java -jar ECTesterReader.jar -h` for more.
constants.
-sig,--sig-type <type> Set Signature object [type],
corresponds to JC.Signature constants.
+ -C,--color Print stuff with color, requires ANSI
+ terminal.
```
### Actions
diff --git a/docs/CURVES.md b/docs/CURVES.md
index 78a5a4c..a9b8b68 100644
--- a/docs/CURVES.md
+++ b/docs/CURVES.md
@@ -33,6 +33,16 @@ GOST R 34.10-2001: RFC5832 curves.
[Source](https://tools.ietf.org/html/rfc5832)
+### Barreto-Naehrig
+Barreto-Naehrig curves from: A Family of Implementation-Friendly BN Elliptic Curves
+
+[Source](https://eprint.iacr.org/2010/429.pdf)
+
+### Other
+An assortment of some other curves.
+Montgomery curves transformed into short Weierstrass form from <https://eprint.iacr.org/2013/647.pdf>
+Curve25519 transformed into short Weierstrass form.
+
## Generated
diff --git a/docs/TESTS.md b/docs/TESTS.md
index 59bd27b..5ec3b63 100644
--- a/docs/TESTS.md
+++ b/docs/TESTS.md
@@ -135,7 +135,8 @@ java -jar ECTester.jar -t degenerate
## Cofactor
Tests whether the card correctly rejects points that lie on the curve but not on the subgroup generated by the specified generator
-during ECDH.
+during ECDH. Does this with curves where the cofactor subgroup has small order, then with curves that have order equal to the product
+of two large primes, sets the generator with order of one prime and tries points on the subgroup of the other prime order.
For example:
```bash