isNormalized method

bool isNormalized(
  1. ECDomainParameters curveParams
)

Returns true if s is in lower-s form, false otherwise.

Implementation

bool isNormalized(ECDomainParameters curveParams) {
  return !(s.compareTo(curveParams.n >> 1) > 0);
}