Commit Graph

9 Commits

Author SHA1 Message Date
mratsim 85e7f11efe Remove tests of private fields + Hide privat fields for real 2018-03-21 21:03:12 +01:00
mratsim 4454750f95 Hide the (r,s) in signature 2018-03-21 17:59:50 +01:00
mratsim b4f513c847 Rebase on master (new serialization #9 and tests #11) 2018-03-21 16:45:39 +01:00
Yuriy Glukhov 0c4bc995d2 Tests for Signature serialization (#11) 2018-03-21 16:29:58 +01:00
mratsim 92bdd41643 Remove ttmath and allow compilation to C, change "private" field names. 2018-03-21 15:54:41 +01:00
mratsim c132fac2ce Relicense under dual Apachev2/MIT 2018-03-02 11:57:43 +01:00
mratsim c042a71175 Add signing verification and public key recovery 2018-02-14 20:40:05 +01:00
mratsim ea6316d5ce Add message signing + tests 2018-02-14 19:50:36 +01:00
Mamy Ratsimbazafy 33b9df4c83
[WIP] add native ECDSA backend implementation (⚠ to be debugged)
* Add jacobian primitives

* Add ECDSA algos

* Implement ECDSA, HMAC crypto (to be cleaned up)

* [WIP] test suite

* Fix arrayOfBytes <-> UInt256 casting issue

* ecdsa_raw_sign: Fix shadowing result which lead to implicit object field construction requires a .partial object

* Fix casting + remove tests covered by ranged type

* Fix toHex conversion and add first test (failing)

* Fix modular inversion for unsigned ints

* Add modulo template

* Public key generation bug still to hunt.
2018-02-13 19:20:27 +01:00