<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ECTester.git/src/simpleapdu, branch master</title>
<subtitle>Tester of Eliptic curves support on smartcards with JavaCard platform
</subtitle>
<id>https://git.neuromancer.sk/ECTester.git/atom?h=master</id>
<link rel='self' href='https://git.neuromancer.sk/ECTester.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/'/>
<updated>2017-01-17T02:17:08Z</updated>
<entry>
<title>major changes, ECTester rewrite, moved to valid package</title>
<updated>2017-01-17T02:17:08Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2017-01-17T01:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=4debe5adb4bb486f488878e348ee7bcf386c43f2'/>
<id>urn:sha1:4debe5adb4bb486f488878e348ee7bcf386c43f2</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>SimpleAPDU: some cleanup</title>
<updated>2017-01-17T02:16:11Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2017-01-11T18:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=bffdcc6925d806d74179a76b2dc57a619e9c1886'/>
<id>urn:sha1:bffdcc6925d806d74179a76b2dc57a619e9c1886</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed some issues with errors in key generation, and their propagation</title>
<updated>2016-12-11T13:20:00Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-12-11T13:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=da1ee8381f2f7eaf1cfcd4941ec9f95287435625'/>
<id>urn:sha1:da1ee8381f2f7eaf1cfcd4941ec9f95287435625</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added CLI options, Apache commons-cli lib, anomalous curve key export</title>
<updated>2016-12-10T22:37:51Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-12-10T22:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=5f0ec2706a9dbb6aa72ea3c7eb798cd83045e867'/>
<id>urn:sha1:5f0ec2706a9dbb6aa72ea3c7eb798cd83045e867</id>
<content type='text'>
 - Added CLI options, see SimpleAPDU.jar -h
 - Added Apache commons-cli for CLI options, it uses Apache license
 - Added support for anomalous curve export both reader/applet side:
   `java -jar SimpleAPDU.jar -g 10 -b 256 -fp -s`
   generates 10 curves over ECSP256 an anomalous 256bit curve.
</content>
</entry>
<entry>
<title>Added test for small public key degree in ECDH</title>
<updated>2016-11-28T21:35:48Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-11-28T21:34:50Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=f4b67923063ca35ae1405d701b461bfda0c10515'/>
<id>urn:sha1:f4b67923063ca35ae1405d701b461bfda0c10515</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added tests for non-prime p, ECDSA into the main test suite.</title>
<updated>2016-11-26T18:46:32Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-11-26T18:24:37Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=1a0d0b14ff7720b98ffdda4651bf1b58d34203bd'/>
<id>urn:sha1:1a0d0b14ff7720b98ffdda4651bf1b58d34203bd</id>
<content type='text'>
Also fixed ECDSA test.
</content>
</entry>
<entry>
<title>SimpleAPDU: Added cli parsing</title>
<updated>2016-11-26T17:09:21Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-11-26T17:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=7ef646a52fe3e470a0d283d0fb0db5265f444794'/>
<id>urn:sha1:7ef646a52fe3e470a0d283d0fb0db5265f444794</id>
<content type='text'>
Just a simple command line parsing for two options, should be changed to
use some CLI parser lib in the future.
-g [num] - generates [num] keys, if [num] is ommitted runs forever
-a - runs the test suite for all standard key sizes and field types

By default -a is run.
</content>
</entry>
<entry>
<title>Merge branch 'devel' of github.com:petrs/ECTester into devel</title>
<updated>2016-11-21T13:31:37Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-11-21T13:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=f6054733ede030b83b97a0f82f1f437082c2c48b'/>
<id>urn:sha1:f6054733ede030b83b97a0f82f1f437082c2c48b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ECKeyGenerator: fixes to key genertion,</title>
<updated>2016-11-21T13:10:36Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-11-07T19:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=7d946796d87638a5f54cc8562c9d3a95309cf3cc'/>
<id>urn:sha1:7d946796d87638a5f54cc8562c9d3a95309cf3cc</id>
<content type='text'>
ECKeyTester: fixed ECDH/ECDHC pubkey length issue.
EC_Consts: fixed decompressG and getCurveParameter array copy mismatch
SimpleECCApplet: fixed B parameter test

All tests now pass as before.
</content>
</entry>
<entry>
<title>Implemented External curve setting on applet side</title>
<updated>2016-11-21T13:09:47Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2016-11-02T20:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/ECTester.git/commit/?id=c2be46f5881a3a8e63c0815de28f0516ceeb7bcc'/>
<id>urn:sha1:c2be46f5881a3a8e63c0815de28f0516ceeb7bcc</id>
<content type='text'>
SimpleECCApplet: added TestEC_SupportExternal which receives an FP or
F2M elliptic curve parameters in an APDU, sets it and tries ECDH, ECDSA.
ECKeyGenerator: added setExternalCurve, which reads and sets external
parameters from one buffer, with data order:
field | a | b | g | r | k
</content>
</entry>
</feed>
