mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-31 12:31:22 +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:
@@ -214,10 +214,6 @@ impl Field for Fr {
|
||||
}
|
||||
}
|
||||
|
||||
fn frobenius_map(&mut self, _: usize) {
|
||||
// identity
|
||||
}
|
||||
|
||||
fn sqrt(&self) -> CtOption<Self> {
|
||||
// Tonelli-Shank's algorithm for q mod 16 = 1
|
||||
// https://eprint.iacr.org/2012/685.pdf (page 12, algorithm 5)
|
||||
|
Reference in New Issue
Block a user