has_endomorphism_available
Checks if a curve has an efficient endomorphism available for GLV decomposition.
GLV (Gallant-Lambert-Vanstone) decomposition accelerates scalar multiplication by utilizing the curve’s endomorphism structure.
Arguments
curve_index- Index of the curve
Returns
truefor BN254, BLS12_381, and SECP256K1 (curves 0, 1, 2)falsefor all other curves
Fully qualified path: garaga::definitions::curves::has_endomorphism_available
pub fn has_endomorphism_available(curve_index: u32) -> bool