Skip to content

Commit

Permalink
ff: Remove ScalarEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed May 30, 2020
1 parent 19863c2 commit 318b8d5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,6 @@ pub trait PrimeField: Field + From<u64> {
fn root_of_unity() -> Self;
}

/// An "engine" is a collection of types (fields, elliptic curve groups, etc.)
/// with well-defined relationships. Specific relationships (for example, a
/// pairing-friendly curve) can be defined in a subtrait.
pub trait ScalarEngine: Sized + 'static + Clone {
/// This is the scalar field of the engine's groups.
type Fr: PrimeField;
}

#[derive(Debug)]
pub struct BitIterator<T, E: AsRef<[T]>> {
t: E,
Expand Down

0 comments on commit 318b8d5

Please sign in to comment.