1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00
This commit is contained in:
Tim Ruffing 2020-03-12 18:23:07 +01:00
parent 8c5be91975
commit 003d38cedb

View File

@ -15,7 +15,7 @@ def vector0():
P = point_mul(G, x) P = point_mul(G, x)
assert(y(P) % 2 == 0) assert(y(P) % 2 == 0)
# For historic reasons (pubkey tiebreaker was squareness and not evenness) # For historical reasons (pubkey tiebreaker was squareness and not evenness)
# we should have at least one test vector where the the point reconstructed # we should have at least one test vector where the the point reconstructed
# from the public key has a square and one where it has a non-square Y # from the public key has a square and one where it has a non-square Y
# coordinate. In this one Y is non-square. # coordinate. In this one Y is non-square.