mirror of
https://github.com/pezkuwichain/bizinikiwi-bn.git
synced 2026-06-21 07:31:08 +00:00
Remaining extension field tower
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user