Commit Graph

16 Commits

Author SHA1 Message Date
Jack Grigg 4b4a4ee8dc bls12_381: Implement pairing traits 2020-08-17 23:40:15 +01:00
Jack Grigg d11b60030f bls12_381: Implement group traits 2020-08-17 23:40:15 +01:00
Jack Grigg a6f2172b20 bls12_381: Replace Choice::unwrap_u8 with bool::from
The latter is clearer and the intended route for un-CT-ing Choices.
2020-08-13 18:17:29 +01:00
Jack Grigg 636db2aca3 Merge commit 'a5a6f57c5abcf47387d1c9e1ea2ee8ab01925734' into bls12_381-subtree-update 2020-08-12 18:25:52 +01:00
Jack Grigg 463d72cc3e bls12_381: Implement ff traits for Scalar 2020-05-30 01:01:43 +12:00
Jack Grigg f208c498cf bls12_381: Fix typo in Fp::from_bytes documentation 2020-05-30 01:01:43 +12:00
Jack Grigg c488732022 Use text directive on sage script doc comment instead of norun
norun is an invalid directive, and no_run would cause the sage script to
be compiled as Rust.
2020-05-22 19:13:33 +12:00
Jack Grigg 2bfc715828 bls12_381: Remove unnecessary clones
The structs in question all implement Copy.
2020-01-14 21:08:34 -05:00
Jack Grigg 911d248b86 bls12_381: Remove unnecessary unit return values 2020-01-14 21:06:10 -05:00
Jack Grigg f99ab768dc bls12_381: Remove unnecessary references 2020-01-14 21:03:39 -05:00
Jack Grigg 687fff5ecf bls12_381: Fix ambiguous operation clippy warnings 2020-01-14 20:59:25 -05:00
Jack Grigg e15fea2757 bls12_381: Silence clippy::eq_op in tests that trigger it
The tests are explicitly checking that the operator implementations work
correctly for equal LHS and RHS.
2020-01-14 20:53:44 -05:00
Jack Grigg 394b6f91a9 bls12_381: Use readable literals 2020-01-14 20:51:34 -05:00
Jack Grigg f44556d7bf
Upgrade to criterion 0.3 2019-12-19 15:08:45 -06:00
Sean Bowe 96f602e452
cargo fmt 2019-12-12 11:46:05 -07:00
Sean Bowe f5217b56d7 Merge commit 'dbd9bd1b9b43038e60bda8f14576580e51924ea0' as 'bls12_381' 2019-12-12 11:32:35 -07:00