aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/applet
Commit message (Collapse)AuthorAgeFilesLines
* Basic Gradle setup.J08nY2024-03-257-3451/+0
|
* Suppress unnecessary warnings.J08nY2021-08-241-0/+1
|
* Better handle KeyBuilder and KeyPair construction in the applet.J08nY2019-07-181-6/+12
|
* Add option to use KeyBuilder.J08nY2019-07-162-8/+48
|
* Optimize memory allocation in the applet.J08nY2019-03-222-54/+141
|
* Update notebooks.J08nY2019-03-211-1/+1
|
* Bump version.J08nY2019-03-182-2/+2
|
* Add customizable time resolution.develJ08nY2019-03-182-0/+2
|
* Fix chunking.J08nY2019-03-142-16/+28
|
* Add better chunking support and detect it at runtime.J08nY2019-03-143-5/+8
|
* Add custom command chaining to be able to test T=0 cards.J08nY2019-03-133-16/+49
|
* Bump version...0.3.2J08nY2019-02-221-1/+1
|
* Fix applet switch fall-through and standalone ECDH on BouncyCastle.J08nY2018-12-171-0/+1
|
* Add dry run mode to enable precise time measurement via overhead subtraction.J08nY2018-11-303-72/+181
|
* Bump version.0.3.1J08nY2018-11-281-1/+1
|
* Add ECDH validation tests using BouncyCastle.J08nY2018-11-141-0/+8
|
* Print named objects cleaner. Increase applet buffer sizes.J08nY2018-11-141-1/+1
|
* FIx loading of F2m field, fix some utility functions.J08nY2018-11-091-5/+4
|
* Backport applet to JavaCard 2.2.1 to support more cards.J08nY2018-11-065-826/+957
|
* Reformat all code.J08nY2018-08-123-29/+21
|
* Implement more tests for wrong parameters. Implement cloning for Tests.J08nY2018-06-271-1/+5
| | | | | | | - Test G = infinity. - Test wrong r, where [r]G != infinity, - prime - composite
* Add compression test suite.J08nY2018-05-021-3/+8
|
* Add ECDSA_sign and ECDSA_verify commands, to allow separate testing.J08nY2018-04-053-42/+201
|
* Rename the CORRUPT command to TRANSFORM, as it does that now.J08nY2018-03-144-72/+72
|
* Add better unexpected exception handling to the applet.J08nY2018-03-051-44/+83
|
* Add some docs and fix ECTesterReader --bit-size option.J08nY2018-03-031-1/+0
|
* Bump copyright years.J08nY2018-02-041-1/+2
|
* Add more tests to the Wrong test suite.J08nY2018-02-042-5/+5
| | | | | | | | | | | | - Now tests also for: - Fp: - p = 0 - p = 1 - p = q^2; q prime - p = q * s; q and s primes - F2m: - e1 = e2 = e3 = 0 - m < e1 < e2 < e3
* Fix default test suite F2M domain setting.J08nY2018-02-031-1/+0
|
* Simplify F2m field setting in applet.J08nY2018-01-231-4/+4
|
* Fix default test suite F2m tests.J08nY2018-01-202-4/+1
|
* Fix ECDSA APDU parsing on applet side.J08nY2018-01-131-2/+2
| | | | - Was broken when introducing signature type into the APDU.
* Simplify test suites.J08nY2018-01-092-3/+21
|
* Cleanup the applet ECKA and Signature objects.J08nY2017-12-273-279/+116
|
* Cleanup and a new gitignore.J08nY2017-11-101-11/+13
|
* corrected INS to avoid reserved 0x60-0x6f and 0x90-0x9fpetrs2017-06-161-6/+8
|
* explicit support for reallocation of KeyAgreement engine with provided typepetrs2017-06-162-10/+71
|
* Fix ECDH testsJ08nY2017-06-024-19/+177
|
* Minor fixesJ08nY2017-05-202-4/+4
|
* Added support for extended APDUs, fixed problems with large cmdsJ08nY2017-05-046-195/+245
| | | | | | | | | | | - 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
* Reworked invalid curve testing, added generated anomalous curvesJ08nY2017-05-011-4/+4
|
* Move Default test suite to real TestsJ08nY2017-05-011-1/+1
|
* Change EC_Consts.CORRUPTION_* into a short that's maskableJ08nY2017-05-013-134/+151
|
* Fix some test-vector tests, also test printingJ08nY2017-04-195-14/+58
|
* Refactor testing, add Config class, make EC_Data read bytesJ08nY2017-04-194-42/+63
| | | | | | | | | | | | - 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-152-5/+47
| | | | | | | | | - 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.
* Added more documentation, anomalous curves, support command.J08nY2017-03-302-5/+53
| | | | | | | | | | | | | - 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 new curves, started adding default & dangerous tests.J08nY2017-03-271-0/+12
|
* Refactored EC_Params, renamed EC_Data, added first test vectors.J08nY2017-03-262-2/+5
|
* Implemented ECDHC testing.J08nY2017-03-243-12/+35
| | | | | | - also some work on ECDH/ECDHC compatibility testing - new option -dhc / --ecdhc [count] the same as ecdh option, except it does ECDHC algo