| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Split Util class into a package. | J08nY | 2017-11-26 | 1 | -8/+8 |
| | | |||||
| * | Separate build files for standalone and reader apps. | J08nY | 2017-11-12 | 1 | -0/+1 |
| | | |||||
| * | Reader: added verbose flag, made CardMngr quiet. | J08nY | 2017-03-07 | 1 | -25/+48 |
| | | |||||
| * | Added option to generate fresh keys(-f) also implemented basic ECC testing | J08nY | 2017-01-27 | 1 | -1/+1 |
| | | | | | | | | | - Added -f/--fresh - Fixed response align - Implemented basic EC testing, more advanced/complex tests are gonna be done through pre-generated files/curves/keys inside the jar or externally. Such as the invalid curve attack test and others. | ||||
| * | reader: Added a Command and Response abstraction | J08nY | 2017-01-22 | 1 | -9/+2 |
| | | | | | | | | | | | | | | - For easier testing - Command assembles the correct instruction from params in its constructor - Command.send() sends the command and obtains the Response with timing - Response parses the ResponseAPDU in its constructor and provides convenience methods to access its contents/SWs/success /failure/print data: Added more curves | ||||
| * | reader: implemented ecdh and ecdsa actions, also added some docs | J08nY | 2017-01-17 | 1 | -16/+16 |
| | | | | | | | - ecdh and ecdsa instructions now work, although without output to file, yet. - added MIT license headers to main classes | ||||
| * | implemented ecdh testing reader side: | J08nY | 2017-01-17 | 1 | -28/+36 |
| | | | | | ectester -dh -fp -b 192 | ||||
| * | major changes, ECTester rewrite, moved to valid package | J08nY | 2017-01-17 | 1 | -0/+289 |
| reader: ECTester, mostly rewritten SimpleAPDU - communication with applet now done through simpler instructions: allocate, set, generate, ecdh, ecdsa - moved to a valid Java package dir cz.crcs.ectester - SimpleAPDU: renamed to ECTester - CardMngr: seamlessly supports simulation vs real card - DirtyLogger: takes a nullable String and creates file - ECTester: currently only supports key generation, curve testing under way - supports external curve setting, example files in data package - tests can be done through files, to achieve a more modular approach - Util: static utility class - ParamReader: reads curve domain parameters and keys from simple csv-like human-readable files with hex strings applet: ECTesterApplet, rewrite of SimpleECCApplet - more granularity in instructions - moved complexity over to the reader side - ECKeyGenerator: now a class that takes KeyPair as param - ECKeyTester: now a class that takes KeyPair as param - EC_Consts: removed ecsp curves(now done externally), removed unused methods - ECTesterApplet: currently only tested instructions are: allocate, set, generate data: contains several curve and pubkey files in format supported by ParamReader - Prime field curves: p,a,b,gx,gy,r,k - Binary field curves: e1,a,b,gx,gy,r,k or e1,e2,e3,a,b,gx,gy,r,k - Public key: wx,wy - Private key: s - Key: wx,wy,s - all values are hex strings | |||||
