aboutsummaryrefslogtreecommitdiff
path: root/docs/TESTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/TESTS.md')
-rw-r--r--docs/TESTS.md12
1 files changed, 11 insertions, 1 deletions
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