summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed ECSP curves, 192b and 521b, to ones that have a prime pubkey order.J08nY2016-11-302-184/+185
|
* Fixed small-pub degree test, still crashes most cards.J08nY2016-11-302-14/+20
|
* fixed small pubkey order test, this times out on some ↵J08nY2016-11-282-36/+46
| | | | | | cards(SCARD_E_NOT_TRANSACTED) yet some cards run fine and report illegal value.
* Added test for small public key degree in ECDHJ08nY2016-11-284-30/+134
|
* EC_Consts: addded anomalous curves, with ordinady base points and small ↵J08nY2016-11-281-16/+780
| | | | order pubkeys
* Added tests for non-prime p, ECDSA into the main test suite.J08nY2016-11-263-48/+79
| | | | Also fixed ECDSA test.
* SimpleAPDU: Added cli parsingJ08nY2016-11-261-82/+121
| | | | | | | | | Just a simple command line parsing for two options, should be changed to use some CLI parser lib in the future. -g [num] - generates [num] keys, if [num] is ommitted runs forever -a - runs the test suite for all standard key sizes and field types By default -a is run.
* Merge branch 'devel' of github.com:petrs/ECTester into develJ08nY2016-11-215-80/+281
|\
| * Added support for multiple readerspetrs2016-11-185-65/+266
| | | | | | | | Added support for mass gathering of ECC keys (refactoring needed)
* | ECKeyGenerator: fixes to key genertion,J08nY2016-11-215-78/+102
| | | | | | | | | | | | | | | | 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.
* | EC_Consts: added sect233r1, sect283r1, sect409r1, sect571r1J08nY2016-11-211-2/+396
| |
* | Implemented External curve setting on applet sideJ08nY2016-11-213-8/+200
| | | | | | | | | | | | | | | | 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
* | EC_Consts: made parameters maskableJ08nY2016-11-214-41/+35
| | | | | | | | | | | | 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.
* | EC_Consts: added F2M curve support, + F2M curve sect163r1 to startJ08nY2016-11-215-1067/+1085
| |
* | refactoring ECTester: created ECKeyGenerator, ECKeyTesterJ08nY2016-11-213-3/+363
|/
* fixed incorrect curve parameter P for secp384r1 curvepetrs2016-10-041-1/+1
|
* EC curve testing in separate apdu due to weird behavior of some cards after ↵v0.0.3petrs2016-10-042-12/+83
| | | | multiple errors within single apdu
* fixed issue with setting rewrite offset optionpetrs2016-10-041-19/+22
|
* corruption of parameter B addedpetrs2016-10-032-45/+222
|
* valid/invalid B set also into private keypetrs2016-09-291-0/+2
|
* added test which repeatedly tries to set invalid B parameter and generate ↵petrs2016-09-272-9/+205
| | | | new keypair with it (shoudl fail)
* more options for corruptions of B argument addedpetrs2016-09-271-15/+45
|
* more systematic was how to skip tests which are stictly dependent on ↵petrs2016-09-091-99/+144
| | | | previous test which must succedd
* removal of leftover codev0.0.1v0petrs2016-09-092-137/+101
|
* removal of leftover codepetrs2016-09-091-42/+3
|
* testing of EC F2M curves added (no predefined curves yet, just default ones)petrs2016-09-092-8/+28
|
* parameters for secp521r1 addedpetrs2016-09-091-1/+132
|
* - added curve secp384r1petrs2016-09-083-16/+200
| | | | | - added test for ECDH secret generation: valid and invalid point - output beautification
* result print beautificationpetrs2016-09-081-6/+6
|
* added support for curves secp128r1, secp160r1, secp224r1petrs2016-09-081-1/+180
|
* - added testing of EC_FP 128-521bits (KeyPair allocation, gen key with def. ↵petrs2016-09-084-157/+434
| | | | | | curve, set custom curve, gen keypair with custom curve, set invalid curve, gen keypair with invalid curve) - parsing code with formating and printing
* initial commitpetrs2016-09-085-0/+893