I think there's a small error in the ECDSA Sign procedure described in this page. r will not always be smaller than n, r is just smaller than p. I propose this small change to ensure r is always smaller than n, keeping things simple at this step, and letting the reader to dive into malleability stuff once he grabbed the procedure.
I think there's a small error in the ECDSA Sign procedure described in this page. r will not always be smaller than n, r is just smaller than p. I propose this small change to ensure r is always smaller than n, keeping things simple at this step, and letting the reader to dive into malleability stuff once he grabbed the procedure.