| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add version information.v0.1.0 | J08nY | 2017-11-10 | 1 | -2/+12 |
| | | |||||
| * | Output SWs as unsigned ints. | J08nY | 2017-11-06 | 3 | -6/+6 |
| | | |||||
| * | Introduce Result.Value.ERROR. | J08nY | 2017-11-05 | 5 | -21/+35 |
| | | | | | | - Value.ERROR is used when response.error() is true. - Value.ERROR is NOK. | ||||
| * | Introduce Response.error variable. | J08nY | 2017-11-05 | 2 | -4/+15 |
| | | | | | | | - Useful to discern a response containing failing SWs created by ECTester applet, or a response created by the card when ECTester execution failed. | ||||
| * | Fix some alignment issues. | J08nY | 2017-11-05 | 1 | -2/+0 |
| | | |||||
| * | Implement Result.ExpectedValue to add more logic to test evaluation. | J08nY | 2017-11-05 | 12 | -84/+157 |
| | | | | | | | | | | | | | | | | | | | | | | - Introduces a new enum Result.ExpectedValue, which is used to signify what Test results are expected. - Changes the Result.Value enum to contain information about what was expected. It gains more values: - UXSUCCESS -> Unexpected success. - XFAILURE -> Expected failure. The values SUCCESS and XFAILURE are the OK, values. - Creates a hierarchy of evaluating Responses, Simple tests and Compoung tests. Simple test evaluates the OK property of the response object (using .successfull() method) and again exposes its OK property which depends on the tests ExpectedValue and the response success. Compound test evaluates the OK property of the Simple tests it contains (using the .ok() method) and again exposes its OK property which depends on the concrete Compound test variant, but involves some ExpectedValues and the success of the individual Simple tests it contains. | ||||
| * | Add output of commands to test-suite YAML and XML output. | J08nY | 2017-11-01 | 3 | -6/+35 |
| | | |||||
| * | Fix response output. | J08nY | 2017-10-31 | 3 | -7/+7 |
| | | |||||
| * | Add compound test to default tests.feature/test-output-html | J08nY | 2017-10-31 | 3 | -23/+63 |
| | | |||||
| * | Specify Response.support string better. | J08nY | 2017-10-27 | 1 | -1/+1 |
| | | |||||
| * | Update README and help. | J08nY | 2017-10-26 | 1 | -1/+3 |
| | | |||||
| * | Add some more compound tests and suite descriptions. | J08nY | 2017-10-26 | 7 | -24/+27 |
| | | |||||
| * | Introduce a Result class, that has a value and a cause. | J08nY | 2017-10-25 | 13 | -103/+177 |
| | | |||||
| * | Split ResponseWriter into separate class, introduce TestRunner. | J08nY | 2017-10-25 | 15 | -136/+154 |
| | | |||||
| * | Simplify test contract. | J08nY | 2017-10-25 | 5 | -33/+29 |
| | | |||||
| * | Fix Command.prepareKey for private key. | J08nY | 2017-10-25 | 1 | -1/+1 |
| | | |||||
| * | Split TestSuite classes into separate files. | J08nY | 2017-10-25 | 7 | -240/+324 |
| | | |||||
| * | Add test.ok() information to XML and YAML outputs. | J08nY | 2017-10-25 | 2 | -0/+5 |
| | | |||||
| * | Add Compund test to test-vectors suite. | J08nY | 2017-10-25 | 4 | -15/+83 |
| | | |||||
| * | Fix output when missing output format option. | J08nY | 2017-10-24 | 2 | -2/+7 |
| | | |||||
| * | Implement YAMLOutputWriter. | J08nY | 2017-10-24 | 2 | -3/+63 |
| | | |||||
| * | Add SnakeYAML library to output YAML. | J08nY | 2017-10-24 | 1 | -3/+8 |
| | | |||||
| * | Rename some OutputWriter methods, add YAMLOutputWriter. | J08nY | 2017-10-24 | 6 | -25/+24 |
| | | |||||
| * | Implement a basic XMLOutputWriter. | J08nY | 2017-10-16 | 4 | -7/+104 |
| | | |||||
| * | Refactor response and test outputing into separate writers. | J08nY | 2017-10-15 | 11 | -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. | J08nY | 2017-10-15 | 2 | -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. | J08nY | 2017-10-13 | 5 | -30/+46 |
| | | |||||
| * | Init and print EC_Key/EC_Keypair id when available. | J08nY | 2017-10-13 | 3 | -7/+15 |
| | | |||||
| * | Rename nonprime curves to -> composite curves. | J08nY | 2017-10-13 | 2 | -9/+9 |
| | | |||||
| * | Add class docs to EC_* classes. | J08nY | 2017-10-13 | 8 | -0/+35 |
| | | |||||
| * | explicit support for reallocation of KeyAgreement engine with provided type | petrs | 2017-06-16 | 4 | -0/+84 |
| | | |||||
| * | Add printing of curve refresh command when generating. | J08nY | 2017-06-02 | 1 | -1/+2 |
| | | |||||
| * | Fix ECDH tests | J08nY | 2017-06-02 | 2 | -4/+43 |
| | | |||||
| * | Fix logging to file, add -y / --yes option to force yes | J08nY | 2017-05-24 | 2 | -25/+39 |
| | | |||||
| * | Minor fixes | J08nY | 2017-05-20 | 1 | -1/+1 |
| | | |||||
| * | Added support for extended APDUs, fixed problems with large cmds | J08nY | 2017-05-04 | 6 | -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 curves | J08nY | 2017-05-02 | 2 | -2/+8 |
| | | |||||
| * | Reworked invalid curve testing, added generated anomalous curves | J08nY | 2017-05-01 | 4 | -12/+58 |
| | | |||||
| * | Move Default test suite to real Tests | J08nY | 2017-05-01 | 4 | -78/+74 |
| | | |||||
| * | Change EC_Consts.CORRUPTION_* into a short that's maskable | J08nY | 2017-05-01 | 4 | -18/+14 |
| | | |||||
| * | Move tests to TestSuites | J08nY | 2017-04-27 | 4 | -286/+335 |
| | | |||||
| * | Fix some test-vector tests, also test printing | J08nY | 2017-04-19 | 4 | -9/+19 |
| | | |||||
| * | Add id to EC_Params subclasses toString, fix EC_Params.expand | J08nY | 2017-04-19 | 6 | -28/+17 |
| | | |||||
| * | Refactor testing, add Config class, make EC_Data read bytes | J08nY | 2017-04-19 | 11 | -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 it | J08nY | 2017-04-15 | 7 | -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. | J08nY | 2017-04-04 | 8 | -24/+65 |
| | | |||||
| * | Added more documentation, anomalous curves, support command. | J08nY | 2017-03-30 | 3 | -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 testing | J08nY | 2017-03-28 | 3 | -7/+104 |
| | | |||||
| * | Added nist and brainpool test vectors, also smallpub test | J08nY | 2017-03-28 | 1 | -5/+13 |
| | | |||||
| * | Added new curves, started adding default & dangerous tests. | J08nY | 2017-03-27 | 1 | -44/+98 |
| | | |||||
