Commit Graph

73 Commits

Author SHA1 Message Date
Michele Balistreri 09fe778d85 add instance UID 2017-11-15 12:55:41 +03:00
Michele Balistreri a61369d1bc update test to use pairing/unpairing 2017-11-15 12:11:01 +03:00
Michele Balistreri e11d817c64 implement PAIR/UNPAIR 2017-11-14 18:04:22 +03:00
Michele Balistreri 2d63b34afa add PAIR/UNPAIR commands to the specs 2017-11-14 15:50:07 +03:00
Michele Balistreri 868c476ced document test utils 2017-11-04 12:54:31 +03:00
Michele Balistreri 10a429bf6d document Crypto utility class 2017-10-28 19:43:07 +03:00
Michele Balistreri a216b29b97 document SECP256k1 utility class 2017-10-28 19:04:24 +03:00
Michele Balistreri 5bf6f62ac7 fix typo 2017-10-28 18:47:47 +03:00
Michele Balistreri 74594092c8 document SecureChannel 2017-10-28 18:46:56 +03:00
Michele Balistreri 8729768478 add a not about replay attacks 2017-10-28 18:23:17 +03:00
Michele Balistreri 196e91f3ec document main applet class 2017-10-28 18:20:06 +03:00
Michele Balistreri eb27f6c2c4 make README more clear 2017-10-26 16:00:01 +03:00
Michele Balistreri b68c6bd275 implement EXPORT KEY 2017-10-26 14:15:40 +03:00
Michele Balistreri d778080899 implement PIN-less path 2017-10-26 12:11:49 +03:00
Michele Balistreri 5fc82298b8 implement retrieval of current key path 2017-10-25 14:29:13 +03:00
Michele Balistreri c062e53a6e fix situation where the card would get stuck in waiting for public key status 2017-10-25 12:25:08 +03:00
Michele Balistreri 24352fb0bc split sign and sign data tests 2017-10-25 11:20:40 +03:00
Michele Balistreri 760f431a16 implement assisted DERIVE KEY 2017-10-24 15:42:59 +03:00
Michele Balistreri 49c8f06c2d implement append in key derivation 2017-10-24 11:45:05 +03:00
Michele Balistreri 3a32731061 specify assisted key derivation 2017-10-19 16:37:14 +03:00
Michele Balistreri dc2af3b4fb test master key reset 2017-10-19 14:56:57 +03:00
Michele Balistreri c4b0da3703 fix DERIVE KEY 2017-10-18 15:51:03 +03:00
Michele Balistreri 32fbcfdcd5 implement DERIVE KEY test 2017-10-18 14:30:56 +03:00
Michele Balistreri de91e33f74 implement low-level BIP32 CKDPriv function 2017-10-18 11:40:20 +03:00
Michele Balistreri 4c0c58ac90 add hint if public key derivation is optimized or not 2017-10-16 17:34:37 +03:00
Michele Balistreri d26b1120a0 support T=0 in tests 2017-10-16 17:00:10 +03:00
Michele Balistreri 232db9b571 separate master and derived chain codes 2017-10-12 13:46:25 +03:00
Michele Balistreri f923e48333 rename ECCCurves to SEC256k1 to avoid confusion with the similarly named
ECCurve class
2017-10-12 13:43:08 +03:00
Michele Balistreri 84d56c95cd javacard applet can only define 1 package. JCMathLib has been integrated
in the main package
2017-10-12 13:39:04 +03:00
Michele Balistreri 48f1905cee add point multiplication through JCMathLib 2017-10-12 13:21:19 +03:00
Michele Balistreri b2543239aa make right shift work on both simulator and JavaCard 2017-10-11 13:26:50 +03:00
Michele Balistreri f134be461c remove duplication in loadKey variants 2017-10-11 12:55:47 +03:00
Michele Balistreri 8424f262df extend LOAD KEY with seed loading support 2017-10-11 12:44:48 +03:00
Michele Balistreri 97d195e6b5 simplify specifications - public key derivation must be somehow implemented 2017-10-11 10:55:04 +03:00
Michele Balistreri 5be35a8fe1 extend LOAD KEY 2017-10-11 10:45:37 +03:00
Michele Balistreri 9396e1448d implement GENERATE MNEMONIC 2017-10-10 20:07:09 +03:00
Michele Balistreri 5ba012fad1 implement GET STATUS 2017-10-09 17:12:21 +03:00
Michele Balistreri f4ea1f6e69 update specs for BIP32/39 2017-10-09 15:06:59 +03:00
Michele Balistreri 3b0319cb37 add interface (and possible implementation) for public key derivation from
private key
2017-10-09 12:37:50 +03:00
Michele Balistreri 3c13025773 add public key to the output of the SIGN command 2017-10-06 15:08:07 +03:00
Michele Balistreri c7e35b8aeb explain compilation 2017-10-06 12:58:10 +03:00
Michele Balistreri 11bfc4a4bf test files 2017-10-06 12:05:31 +03:00
Michele Balistreri 6035857f08 add web3j based test 2017-10-06 11:58:41 +03:00
Michele Balistreri fb24995cee add web3j based test (incomplete) 2017-10-05 14:10:49 +03:00
Michele Balistreri 7c72c16578 test with simulator 2017-10-04 17:25:28 +03:00
Michele Balistreri a78c5340c2 add ability to SIGN precomputed hashes. Switch to ECDSA with SHA256 for
data sign
2017-10-04 15:10:59 +03:00
Michele Balistreri ac5929a9fe implement SIGN 2017-09-30 17:26:06 +03:00
Michele Balistreri dd11e0cfa4 enforce P1 on LOAD KEY 2017-09-30 12:24:19 +03:00
Michele Balistreri 18ff9b1bdb implemented LOAD KEY 2017-09-29 19:02:24 +03:00
Michele Balistreri 5b231fb711 move installation script to gradle with configurable parameters 2017-09-27 20:04:26 +03:00