summaryrefslogtreecommitdiff
path: root/src/applets/SimpleECCApplet.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-10Release both JARs, with and without deps.J08nY1-0/+1
2017-11-10Add Github releases to Travis CI.J08nY1-3/+14
2017-11-06Update JAR and CAP.J08nY3-8/+11
2017-11-06Make Travis build the full JAR.J08nY1-1/+1
2017-11-06Output SWs as unsigned ints.J08nY4-14/+17
2017-11-05Introduce Result.Value.ERROR.J08nY5-21/+35
- Value.ERROR is used when response.error() is true. - Value.ERROR is NOK.
2017-11-05Introduce Response.error variable.J08nY2-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.
2017-11-05Fix some alignment issues.J08nY1-2/+0
2017-11-05Implement Result.ExpectedValue to add more logic to test evaluation.J08nY12-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.
2017-11-01Add package target to ant, that builds a jar with full dependencies.J08nY1-0/+25
2017-11-01Add output of commands to test-suite YAML and XML output.J08nY3-6/+35
2017-11-01Add default test scripts.J08nY7-0/+162
2017-10-31Fix response output.J08nY3-7/+7
2017-10-31Move docs to subfolder.J08nY4-3/+3
2017-10-31Add compound test to default tests.feature/test-output-htmlJ08nY3-23/+63
2017-10-27Specify Response.support string better.J08nY1-1/+1
2017-10-26Update README and help.J08nY2-1/+8
2017-10-26Add some more compound tests and suite descriptions.J08nY7-24/+27
2017-10-25Introduce a Result class, that has a value and a cause.J08nY13-103/+177
2017-10-25Split ResponseWriter into separate class, introduce TestRunner.J08nY15-136/+154
2017-10-25Simplify test contract.J08nY5-33/+29
2017-10-25Fix Command.prepareKey for private key.J08nY1-1/+1
2017-10-25Split TestSuite classes into separate files.J08nY7-240/+324
2017-10-25Add test.ok() information to XML and YAML outputs.J08nY2-0/+5
2017-10-25Add Compund test to test-vectors suite.J08nY4-15/+83
2017-10-24Fix output when missing output format option.J08nY2-2/+7
2017-10-24Implement YAMLOutputWriter.J08nY2-3/+63
2017-10-24Add SnakeYAML library to output YAML.J08nY5-6/+11
2017-10-24Rename some OutputWriter methods, add YAMLOutputWriter.J08nY6-25/+24
2017-10-16Implement a basic XMLOutputWriter.J08nY4-7/+104
2017-10-15Refactor response and test outputing into separate writers.J08nY11-166/+352
This is done to provide multiple output formats, one which logs tests to console in simple human readable format and others.
2017-10-15Abstract out Test and move its simple implementation to Test.Simple.J08nY2-88/+159
- Also create a Test.Compound nested static class that can combine multiple Tests and their Results, and has a single Result.
2017-10-13Reorganize reader packages.J08nY5-30/+46
2017-10-13Init and print EC_Key/EC_Keypair id when available.J08nY4-10/+18
2017-10-13Update composite curves 384 and 521 with new data.J08nY7-14/+169
2017-10-13Update the composite order curves.J08nY9-17/+377
2017-10-13Rename nonprime curves to -> composite curves.J08nY21-78/+78
2017-10-13Add class docs to EC_* classes.J08nY8-0/+35
2017-06-16corrected INS to avoid reserved 0x60-0x6f and 0x90-0x9fpetrs1-6/+8
2017-06-16explicit support for reallocation of KeyAgreement engine with provided typepetrs9-11/+156
2017-06-03Add some more examples to TESTS.mdJ08nY1-0/+10
2017-06-02Add printing of curve refresh command when generating.J08nY2-1/+2
2017-06-02Fix ECDH testsJ08nY8-23/+220
2017-05-24Added ANSSI curve and GOST curvesJ08nY7-0/+39
2017-05-24Fix logging to file, add -y / --yes option to force yesJ08nY4-25/+39
2017-05-20Reformatted curve and test CSV dataJ08nY162-161/+161
2017-05-20Minor fixesJ08nY6-5/+10
2017-05-04Added support for extended APDUs, fixed problems with large cmdsJ08nY16-312/+390
- 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
2017-05-02Added some generated invalid curvesJ08nY30-117/+8641
2017-05-01Reworked invalid curve testing, added generated anomalous curvesJ08nY24-49/+141