I'm trying to convert signature to low S, but got compilation error.
Dependencies used:
ecdsa = "0.12"
elliptic-curve = "0.10"
p256 = "0.9"
Error:
let signature = Signature::<p256::NistP256>::from_der(&data)?;
signature.normalize_s()?;
^^^^^^^^^^^ the trait `NormalizeLow` is not implemented for `Scalar`
How to fix it? What exact type need to implement trait NormalizeLow?