Trait elliptic_curve::IsHigh
source · Expand description
Is this scalar greater than n / 2?
Returns
- For scalars 0 through n / 2:
Choice::from(0)
- For scalars (n / 2) + 1 through n - 1:
Choice::from(1)
Is this scalar greater than n / 2?
Choice::from(0)
Choice::from(1)