Update sapling-crypto crate to use ff crate

This commit is contained in:
Jack Grigg
2018-11-11 10:52:08 +13:00
parent 76cd0d92bb
commit 22ccd1bceb
23 changed files with 45 additions and 81 deletions

View File

@@ -1,7 +1,7 @@
//! Implementation of RedJubjub, a specialization of RedDSA to the Jubjub curve.
//! See section 5.4.6 of the Sapling protocol specification.
use pairing::{Field, PrimeField, PrimeFieldRepr};
use ff::{Field, PrimeField, PrimeFieldRepr};
use rand::{Rng, Rand};
use std::io::{self, Read, Write};