Remaining extension field tower

This commit is contained in:
Sean Bowe
2016-07-03 10:16:51 -06:00
parent 17416ed162
commit c8a0d56ba4
7 changed files with 412 additions and 13 deletions
-6
View File
@@ -51,12 +51,6 @@ impl<P: PrimeFieldParams> Field for Fp<P> {
}
}
fn is_zero(&self) -> bool {
use num::Zero;
self.value == BigUint::zero()
}
fn inverse(&self) -> Self {
if self.is_zero() {
// TODO: this should likely bleed through the abstraction layers