aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/reader
Commit message (Collapse)AuthorAgeFilesLines
* Add compound test to default tests.feature/test-output-htmlJ08nY2017-10-313-23/+63
|
* Specify Response.support string better.J08nY2017-10-271-1/+1
|
* Update README and help.J08nY2017-10-261-1/+3
|
* Add some more compound tests and suite descriptions.J08nY2017-10-267-24/+27
|
* Introduce a Result class, that has a value and a cause.J08nY2017-10-2513-103/+177
|
* Split ResponseWriter into separate class, introduce TestRunner.J08nY2017-10-2515-136/+154
|
* Simplify test contract.J08nY2017-10-255-33/+29
|
* Fix Command.prepareKey for private key.J08nY2017-10-251-1/+1
|
* Split TestSuite classes into separate files.J08nY2017-10-257-240/+324
|
* Add test.ok() information to XML and YAML outputs.J08nY2017-10-252-0/+5
|
* Add Compund test to test-vectors suite.J08nY2017-10-254-15/+83
|
* Fix output when missing output format option.J08nY2017-10-242-2/+7
|
* Implement YAMLOutputWriter.J08nY2017-10-242-3/+63
|
* Add SnakeYAML library to output YAML.J08nY2017-10-241-3/+8
|
* Rename some OutputWriter methods, add YAMLOutputWriter.J08nY2017-10-246-25/+24
|
* Implement a basic XMLOutputWriter.J08nY2017-10-164-7/+104
|
* Refactor response and test outputing into separate writers.J08nY2017-10-1511-166/+352
| | | | | This is done to provide multiple output formats, one which logs tests to console in simple human readable format and others.
* Abstract out Test and move its simple implementation to Test.Simple.J08nY2017-10-152-88/+159
| | | | | - Also create a Test.Compound nested static class that can combine multiple Tests and their Results, and has a single Result.
* Reorganize reader packages.J08nY2017-10-135-30/+46
|
* Init and print EC_Key/EC_Keypair id when available.J08nY2017-10-133-7/+15
|
* Rename nonprime curves to -> composite curves.J08nY2017-10-132-9/+9
|
* Add class docs to EC_* classes.J08nY2017-10-138-0/+35
|
* explicit support for reallocation of KeyAgreement engine with provided typepetrs2017-06-164-0/+84
|
* Add printing of curve refresh command when generating.J08nY2017-06-021-1/+2
|
* Fix ECDH testsJ08nY2017-06-022-4/+43
|
* Fix logging to file, add -y / --yes option to force yesJ08nY2017-05-242-25/+39
|
* Minor fixesJ08nY2017-05-201-1/+1
|
* Added support for extended APDUs, fixed problems with large cmdsJ08nY2017-05-046-115/+143
| | | | | | | | | | | - Switched ECTesterApplet to Javacard 2.2.2 which supports Extended length APDUs (necessary for some Set commands when a large external curve is sent to the applet) - The incoming APDU is now copied over to a sufficiently large buffer before being processed - Simplified instruction processing logic - Renamed ECUtil to AppletUtil - Fixed padding error in nist/P-521
* Added some generated invalid curvesJ08nY2017-05-022-2/+8
|
* Reworked invalid curve testing, added generated anomalous curvesJ08nY2017-05-014-12/+58
|
* Move Default test suite to real TestsJ08nY2017-05-014-78/+74
|
* Change EC_Consts.CORRUPTION_* into a short that's maskableJ08nY2017-05-014-18/+14
|
* Move tests to TestSuitesJ08nY2017-04-274-286/+335
|
* Fix some test-vector tests, also test printingJ08nY2017-04-194-9/+19
|
* Add id to EC_Params subclasses toString, fix EC_Params.expandJ08nY2017-04-196-28/+17
|
* Refactor testing, add Config class, make EC_Data read bytesJ08nY2017-04-1911-419/+785
| | | | | | | | | | | | - The ECTester.Config class now stores and reads all CLI options - Testing with the -t / --test option was partially refactored into: - Test: Encapsulates one Command and Response pair with expected result, a real result and a callback to dynamically assign result - TestSuite: Encapsulates a bunch of tests, represents a whole category of tests either that can be run on any curve or only on some.
* Add invalid curves test(partly) and some parameters (brainpool) for itJ08nY2017-04-157-87/+168
| | | | | | | | | - curves.xml, keys.xml and results.xml's entries can now instead of file path to point to csv file, contain the csv data inline. - Moved EC_Category to reader package from data - Fixed printing of named objects - Added ECDH/C test for KA_BOTH which does ECDH and ECDHC on the applet side, compares the results and reports success/failure etc.
* Some docs, allow EC_* objects to print themselves.J08nY2017-04-048-24/+65
|
* Added more documentation, anomalous curves, support command.J08nY2017-03-303-54/+101
| | | | | | | | | | | | | - Added CURVES.md, FORMAT.md and TESTS.md that talk a bit about what ECTester actually does/support. - Added anomalous curves (where |F_p| = #|E(F_p)|), meaning these curves have a trace of one and ECDLP over them reduces to easy DLP over multiplicative F*_p. These concrete curves are from Atsuko Miyaji's paper: Elliptic curves over F_p Suitable for Cryptosystems. - Added Support command that queries the results of KeyAgreement and Signature allocations. - Renamed smallpub curves to nonprime curves. - Fixed nonprime curves test suite.
* Added test-vectors, and test-vector testingJ08nY2017-03-283-7/+104
|
* Added nist and brainpool test vectors, also smallpub testJ08nY2017-03-281-5/+13
|
* Added new curves, started adding default & dangerous tests.J08nY2017-03-271-44/+98
|
* Refactored EC_Params, renamed EC_Data, added first test vectors.J08nY2017-03-263-150/+235
|
* Fixed loading private key from file.J08nY2017-03-251-1/+1
|
* Implemented ECDHC testing.J08nY2017-03-243-16/+49
| | | | | | - also some work on ECDH/ECDHC compatibility testing - new option -dhc / --ecdhc [count] the same as ecdh option, except it does ECDHC algo
* Added new corruption type and X962 point compression methods.J08nY2017-03-222-3/+6
|
* Added Cleanup command to request object deletion, prevents memory corruption.J08nY2017-03-173-12/+53
|
* Applet: better handling of exceptions, new command for memory cleanup.J08nY2017-03-173-87/+195
|
* Cleanup, add ECDH corruption tests.J08nY2017-03-163-69/+88
| | | | | | | | | | | Reader: - added ECDH corruption tests - fixed EC_Data keys.xml search path - added more output to --list-named / -ln Both: - changed up ECDH command to support arbitrary temporary pubkey corruption
* fix mistypeJ08nY2017-03-141-1/+1
|