get_min_one
Returns (-1) mod p precomputed for the base field Fp.
This is equivalent to (p - 1) and is frequently used in field arithmetic.
Arguments
curve_index- Index of the curve (0-5)
Returns
- The value (-1) mod p as u384
Panics
- Panics for invalid curve indices
Fully qualified path: garaga::definitions::curves::get_min_one
pub fn get_min_one(curve_index: u32) -> u384