Sebastian Geisler
ce1c30f9b4
Address @afck's comments
...
* make SerializeSecret private
* simplify serde impls
6 years ago
Sebastian Geisler
cd490bcdee
Implement ser/de for SecretKeyShare
6 years ago
Sebastian Geisler
a17cff2041
Implement ser/de for SecretKey
6 years ago
Sebastian Geisler
823609b53e
Add SerdeSecret wrapper type and SerializeSecret trait
6 years ago
David Irvine
43f615c953
Cargo fix update. Also update dependencies, minus lazy static due to issues with criterion.
6 years ago
Andreas Fackler
8b6fa87cdc
Export serde_impl::FieldWrap.
6 years ago
Andreas Fackler
a14e7d1867
Migrate to rand 0.6.
6 years ago
Andreas Fackler
1b1df40c67
Upgrade to Rust 1.31.0 and edition 2018.
6 years ago
Andreas Fackler
c7eda7a14a
Make serialization less wasteful.
...
This removes the unneeded length from key and signature representation,
removing 8 bytes from each. Also adds `from_bytes` and `to_bytes`
methods to convert keys and signatures.
6 years ago
Andreas Fackler
05cde32d01
Instead of macro_use, use use.
7 years ago
Marc Brinkmann
d133bb6d79
Mocktography ( #49 )
...
Added mocktography (feature `use-insecure-test-only-mock-crypto) and factored out CI execution script.
7 years ago
Marc Brinkmann
d69590bedc
Convert all uses of `Bls12` and friends to refer to root `lib.rs` instead of importing from pairing directly.
7 years ago
Andreas Fackler
84e8b69a24
Validate polynomial degrees: fix panics.
7 years ago
Vladimir Komendantskiy
394e4ce140
separated crypto module from hbbft crate
7 years ago
Andreas Fackler
81cbe5a63b
Implement SyncKeyGen.
...
This is a _synchronous_ key generation algorithm. We will use it in
`DynamicHoneyBadger`, on top of `HoneyBadger` to satisfy the synchrony
requirements.
It can also be used independently e.g. on top of a blockchain.
7 years ago
Andreas Fackler
cf1782b2cf
Simplify serde implementations, add Ciphertext.
7 years ago
Andreas Fackler
f6e01daa13
Implement polynomials for distributed key generation.
7 years ago