Commit Graph

29 Commits

Author SHA1 Message Date
Adam Cigánek a7fbfa4522
replace failure (which is deprecated) with thiserror (#105) (#106) 2020-12-16 10:47:40 +01:00
Andreas Fackler 7709462f2d
Version 0.4.0 (#102) 2020-07-28 19:33:31 +02:00
Weiliang Li d18269ebca
upgrade pairing (#93)
* [wip] upgrade pairing

* fix non mock

* fix mock

* derive Clone for SecretKey

* fix bench and derive Clone for poly

* sort Cargo.toml

* fix Rng

* Update mod.rs

* Update lib.rs

* update

* update dep

* update dep

* bump dep

* bump dep

* fix test
2020-03-18 12:13:39 +01:00
Weiliang Li 036b720b7f Clean up and add parity codec support (#91)
* clean Cargo.toml and add parity codec support

* upgrade parity codec

* fix travis

* make clippy happy

* use zeroize instead of memsec

* fix zeroize and add test

* Update .travis.yml

* improve codec support

* fix

* add TODO for removing clear_fr
2019-11-08 10:53:40 +01:00
Andreas Fackler 485333db6e Version 0.3.2 (#89) 2019-07-25 16:34:56 +01:00
Peter van Nostrand 295e42954a Removed 'lazy_static' dependency. 2019-04-11 10:57:53 +02:00
Vladimir Komendantskiy 0ed0806f50 version number update 2019-04-01 18:45:13 +02:00
Vladimir Komendantskiy fb2ad369f9 using serde derive feature instead of separate crate 2019-04-01 18:45:13 +02:00
David Irvine 43f615c953 Cargo fix update. Also update dependencies, minus lazy static due to issues with criterion. 2019-01-09 10:38:28 +01:00
Andreas Fackler dbb9fae896 Version 0.3.0 2018-12-18 15:20:47 +01:00
Andreas Fackler 9ab09897bd Update docs.rs link. 2018-12-18 15:20:47 +01:00
Andreas Fackler a14e7d1867 Migrate to rand 0.6. 2018-12-18 15:20:47 +01:00
Andreas Fackler 1b1df40c67 Upgrade to Rust 1.31.0 and edition 2018. 2018-12-10 17:18:32 +01:00
Andreas Fackler 54026f5fe7 Upgrade to Rust 1.30.0. 2018-10-27 18:05:31 +02:00
Andreas Fackler a4e0da3e8b Version 0.2.1 2018-10-22 19:06:49 +02:00
Andreas Fackler 96db9fbba7 Version 0.2.0
Also: Follow the soon-to-be-official formatting guidelines:
https://github.com/nrc/rfcs/blob/style-guide/style-guide/cargo.md
2018-10-20 12:39:22 +02:00
Andreas Fackler 29b40fffa7 Use hex_fmt 0.2.0. 2018-10-16 16:53:47 +02:00
Andreas Fackler 20de873356 Replace HexBytes with the hex_fmt crate. 2018-10-11 21:59:31 +02:00
Andreas Fackler 0efdad4d69 Prepare for adding mock cryptography for testing.
* Add a feature flag (that doesn't do anything yet).
* Give `clear_fr` a stronger type to prevent mistakes and ensure the
  right amount of memory gets cleared.
* Re-export the engine and related types from `lib.rs`.
2018-10-08 15:56:58 +02:00
Andreas Fackler 42f4ace5a0 Update authors list. 2018-09-26 08:44:02 -07:00
DrPeterVanNostrand d783f2756e Added benchmarks for polynomial multiplication and interpolation. 2018-08-30 09:47:05 +02:00
DrPeterVanNostrand 824eef95ae Added basic public-key cryptography example. 2018-08-29 06:06:52 -07:00
c0gent ec037173b1 Change license, flesh out README a bit.
* The example should eventually be expanded upon.
* The language may need more refinement.
2018-08-15 16:42:22 -07:00
DrPeterVanNostrand 69ff326430 Added env-var 'MLOCK_SECRETS' to disable memory locks. 2018-08-09 10:07:31 -04:00
DrPeterVanNostrand 8f6dce18f2 Added mlocking for secret types. 2018-08-09 10:07:31 -04:00
Andreas Fackler 2d17d0e783 Replace ring with tiny-keccak. 2018-08-09 14:38:31 +02:00
Vladimir Komendantskiy bf98f1271f removed protobuf support 2018-07-31 12:25:45 +01:00
Vladimir Komendantskiy b7ab849a16 converted errors from error_chain to failure 2018-07-31 11:02:22 +01:00
Vladimir Komendantskiy 394e4ce140 separated crypto module from hbbft crate 2018-07-30 23:52:34 +01:00