get_b
Returns the Weierstrass ‘b’ parameter for a given curve.
For Weierstrass curves: y² = x³ + ax + b
Arguments
curve_index- Index of the curve (0-5)
Returns
- The ‘b’ parameter as u384, or zero for invalid indices
Note
For ED25519 (index 4), this returns the ‘b’ parameter of the birationally equivalent Weierstrass curve, not the Edwards curve parameter.
Fully qualified path: garaga::definitions::curves::get_b
pub fn get_b(curve_index: u32) -> u384