summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/CURVES.md5
-rw-r--r--docs/TESTS.md12
2 files changed, 16 insertions, 1 deletions
diff --git a/docs/CURVES.md b/docs/CURVES.md
index a04e82f..a815c5c 100644
--- a/docs/CURVES.md
+++ b/docs/CURVES.md
@@ -60,4 +60,9 @@ Generated manually.
Contains pre-generated points on twists of known named curves from NIST, SECG.
These points can be used to attack some implementations.
+Generated using [ecgen](https://github.com/J08nY/ecgen).
+
+### cofactor
+Contains curves that are composite order, with points not on the subgroup generated by the generator.
+
Generated using [ecgen](https://github.com/J08nY/ecgen). \ No newline at end of file
diff --git a/docs/TESTS.md b/docs/TESTS.md
index 72c328d..8f8fa2e 100644
--- a/docs/TESTS.md
+++ b/docs/TESTS.md
@@ -6,8 +6,9 @@
- `composite`
- `invalid`
- `twist`
+ - `cofactor`
-**NOTE: The `wrong`, `composite`, `invalid` and `twist` test suites caused temporary/permanent DoS of some cards. These test suites prompt you for
+**NOTE: The `wrong`, `composite`, `invalid`,`twist` and `cofactor` test suites caused temporary/permanent DoS of some cards. These test suites prompt you for
confirmation before running, be cautious.**
## Default
@@ -99,4 +100,13 @@ See [SafeCurves on twist security](https://safecurves.cr.yp.to/twist.html) for m
For example:
```bash
java -jar ECTester.jar -t twist
+```
+
+## 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.
+
+For example:
+```bash
+java -jar ECTester.jar -t cofactor
``` \ No newline at end of file