aboutsummaryrefslogtreecommitdiff
path: root/docs/TESTS.md
diff options
context:
space:
mode:
authorJ08nY2018-01-14 15:43:01 +0100
committerJ08nY2018-01-14 15:43:01 +0100
commit8dabbb965f40ff384e3545c9844435b701ed3fda (patch)
treec332a3d197b0a3a6cc1bc7c3d17aa3f76e260707 /docs/TESTS.md
parentaeb322e1da26dcfc83762d9bc8df83667a22282a (diff)
downloadECTester-8dabbb965f40ff384e3545c9844435b701ed3fda.tar.gz
ECTester-8dabbb965f40ff384e3545c9844435b701ed3fda.tar.zst
ECTester-8dabbb965f40ff384e3545c9844435b701ed3fda.zip
Update docs.
Diffstat (limited to 'docs/TESTS.md')
-rw-r--r--docs/TESTS.md20
1 files changed, 6 insertions, 14 deletions
diff --git a/docs/TESTS.md b/docs/TESTS.md
index 21298dc..c4f38dc 100644
--- a/docs/TESTS.md
+++ b/docs/TESTS.md
@@ -11,29 +11,21 @@ confirmation before running, be cautious.**
## Default
Tests the default curves present on the card. These might not be present or the card might not even support ECC.
-Tests keypair allocation, generation, ECDH and ECDSA. ECDH is first tested with two valid generated keypairs, then a with a
-public key that is corrupted in various ways, these tests should fail.
+Tests keypair allocation, generation, ECDH and ECDSA. ECDH is first tested with two valid generated keypairs, then
+with a compressed public key to test support for compressed points.
This test suite is run if no argument is provided to `-t / --test`.
-Supports the `-nc / --named-curve` option so you can specify a category of curves or a curve to use if the card doesn't
-have default curves preset.
-
For example:
```bash
-java -jar ECTester.jar -nc secg -a -fp -t
-```
-tests all(`-a`), prime field(`-fp`) SECG curves, using the default test suite.
-
-```bash
-java -jar ECTester.jar -u -a -f2m -t
+java -jar ECTester.jar -a -fp -t
```
-tests all(`-a`), binary field(`-f2m`), custom(`-u`) curves.
+tests all(`-a`), prime field(`-fp`), using the default test suite.
```bash
-java -jar ECTester.jar -b 128 -fp -t
+java -jar ECTester.jar-a -f2m -t
```
-tests a 128 bit(`-b`), prime field(`-fp`) curve, (if a default one is present).
+tests all(`-a`), binary field(`-f2m`), curves.
## Test-Vectors
Tests using known test vectors provided by NIST/SECG/Brainpool: