sage: Reorganize files

* Move curve parameters to separate file
 * Rename main prover script for clarity
This commit is contained in:
Tim Ruffing
2020-11-25 13:50:40 +01:00
parent 13c88efed0
commit f554dfc708
3 changed files with 33 additions and 6 deletions

View File

@@ -1,9 +1,4 @@
# Define field size and field
P = 2^256 - 2^32 - 977
F = GF(P)
BETA = F(0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee)
assert(BETA != F(1) and BETA^3 == F(1))
load("secp256k1_params.sage")
orders_done = set()
results = {}