| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
- Added CLI options, see SimpleAPDU.jar -h
- Added Apache commons-cli for CLI options, it uses Apache license
- Added support for anomalous curve export both reader/applet side:
`java -jar SimpleAPDU.jar -g 10 -b 256 -fp -s`
generates 10 curves over ECSP256 an anomalous 256bit curve.
|
| | |
|
| |
|
|
|
|
|
|
| |
ECKeyTester: fixed ECDH/ECDHC pubkey length issue.
EC_Consts: fixed decompressG and getCurveParameter array copy mismatch
SimpleECCApplet: fixed B parameter test
All tests now pass as before.
|
| |
|
|
|
|
|
|
| |
SimpleECCApplet: added TestEC_SupportExternal which receives an FP or
F2M elliptic curve parameters in an APDU, sets it and tries ECDH, ECDSA.
ECKeyGenerator: added setExternalCurve, which reads and sets external
parameters from one buffer, with data order:
field | a | b | g | r | k
|
| |
|
|
|
|
| |
ECKeyGenerator: since parameters are maskable, one can now
setCustomInvalidCurve(curve, PARAMETER_A | PARAMETER_B,...) and
the resulting curve will have both A and B invalid.
|
| | |
|
| |
|