aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJ08nY2018-05-02 20:33:42 +0200
committerJ08nY2018-05-02 20:33:42 +0200
commit78e5e3d53c20bac2cb33e7ace8565173651c6155 (patch)
treeaf205fd441b5c51faac8e45aaf68cd316bb984e6 /docs
parent87c4accbecc2f37a42c96e2bbc3c90618bfa2fdc (diff)
downloadECTester-78e5e3d53c20bac2cb33e7ace8565173651c6155.tar.gz
ECTester-78e5e3d53c20bac2cb33e7ace8565173651c6155.tar.zst
ECTester-78e5e3d53c20bac2cb33e7ace8565173651c6155.zip
Diffstat (limited to 'docs')
-rw-r--r--docs/TESTS.md23
1 files changed, 16 insertions, 7 deletions
diff --git a/docs/TESTS.md b/docs/TESTS.md
index 5f4dd9c..d2c3ab5 100644
--- a/docs/TESTS.md
+++ b/docs/TESTS.md
@@ -2,14 +2,15 @@
- `default`
- `test-vectors`
- - `wrong`
- - `composite`
- - `invalid`
- - `twist`
- - `degenerate`
- - `cofactor`
+ - `compression`
+ - `wrong`*
+ - `composite`*
+ - `invalid`*
+ - `twist`*
+ - `degenerate`*
+ - `cofactor`*
-**NOTE: The `wrong`, `composite`, `invalid`,`twist`, `cofactor` and `degenerate` test suites caused temporary/permanent DoS of some cards. These test suites prompt you for
+**\*NOTE: The `wrong`, `composite`, `invalid`,`twist`, `cofactor` and `degenerate` test suites caused temporary/permanent DoS of some cards. These test suites prompt you for
confirmation before running, be cautious.**
## Default
@@ -43,6 +44,14 @@ java -jar ECTester.jar -t test-vectors
```
tests all curves for which test-vectors are provided.
+## Compression
+Tests support for compression of public points in ECDH as specified in ANSI X9.62. Tests ECDH with points in compressed
+and hybrid form. Also tests card response to a hybrid point with wrong `y` coordinate and to the point at infinity(as public key in ECDH).
+
+For example:
+```bash
+java -jar ECTester.jar -t compression
+```
## Wrong
Tests on a category of wrong curves. These curves are not really curves as they have: