Migrate ff, group, pairing, and bellman to rand 0.6

This commit is contained in:
Jack Grigg
2019-07-12 23:51:35 -04:00
parent 5728bda2c1
commit 83e1af104e
16 changed files with 154 additions and 31 deletions

View File

@@ -14,4 +14,5 @@ repository = "https://github.com/ebfull/group"
[dependencies]
ff = { path = "../ff" }
rand = "0.5"
rand = "0.6"
rand_xorshift = "0.1"

View File

@@ -1,5 +1,6 @@
extern crate ff;
extern crate rand;
extern crate rand_xorshift;
use ff::{PrimeField, PrimeFieldDecodingError, ScalarEngine, SqrtField};
use rand::RngCore;

View File

@@ -1,5 +1,6 @@
use ff::{Field, PrimeField};
use rand::{SeedableRng, XorShiftRng};
use rand::SeedableRng;
use rand_xorshift::XorShiftRng;
use {CurveAffine, CurveProjective, EncodedPoint};