mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 20:11:23 +00:00
ff: Remove frobenius_map from Field trait
It is only used internally in the bls12_381 crate, and field extensions aren't exposed anywhere in the Zcash stack.
This commit is contained in:
@@ -499,11 +499,6 @@ impl Field for Fs {
|
||||
CtOption::new(inverse, Choice::from(if self.is_zero() { 0 } else { 1 }))
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn frobenius_map(&mut self, _: usize) {
|
||||
// This has no effect in a prime field.
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn square(&self) -> Self {
|
||||
let mut carry = 0;
|
||||
|
Reference in New Issue
Block a user