Commit Graph

17 Commits

Author SHA1 Message Date
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 4b13bd56c3 Don't use the preview versions of clippy and rustfmt. (#87) 2019-07-16 21:06:48 +01:00
Andreas Fackler e0785f465c Update to Rust 1.35.0. (#83) 2019-06-06 11:05:48 +01:00
Vladimir Komendantskiy fb2ad369f9 using serde derive feature instead of separate crate 2019-04-01 18:45:13 +02: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
Marc Brinkmann 0d4c376808 Add `cargo audit` to CI. 2018-10-16 12:42:57 +02:00
Marc Brinkmann d133bb6d79
Mocktography (#49)
Added mocktography (feature `use-insecure-test-only-mock-crypto) and factored out CI execution script.
2018-10-11 18:25:15 +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 c72bc9a2a7 Fix build failure if deadlinks is already installed. 2018-09-27 15:47:29 +02:00
Andreas Fackler b786d897e2 Run cargo-deadlinks in CI. 2018-09-26 08:44:02 -07:00
Vladimir Komendantskiy e28b77d86d use Rust 1.29 2018-09-22 10:19:36 +02:00
Marc Brinkmann a7cd6e0529 Update to Rust `beta` channel. 2018-08-31 15:53:50 +02:00
Andreas Fackler 02109b586e Benchmark polynomials of different degrees. 2018-08-30 14:35:23 +02:00
c0gent 43799fc0cf Travis: Enable cpu-specific optimizations. 2018-08-29 19:35:29 +02:00
Vladimir Komendantskiy 394e4ce140 separated crypto module from hbbft crate 2018-07-30 23:52:34 +01:00