Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion RIPS/rip-7212.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ The signature verifying algorithm takes the signed message hash, the signature c
s1 = s^(−1) (mod n)

# Recover the random point used during the signing:
# If R' is the point at infinity, verification fails
R' = (h * s1) * G + (r * s1) * pubKey

# Take from R' its x-coordinate:
r' = R'.x

# Calculate the signature validation result by comparing whether:
r' == r
r' == r (mod n)

```

Expand Down