What should we do if s in the ecdsa signature is greater than n/2? As we all know, in the ECDSA signature of Ethernum, the output s must be smaller than n/2, where s is the signature output and n is the ECC group order. If s>n/2, we have two choices:

  1. Should we just re-choose a k, then re-sign the message to make s
  2. Or just make $v\oplus 1$ in the signature to make r -> (x,-y)?

What Ethernum ECDSA really do?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.