glv filename -> endomorphisms

This commit is contained in:
Mamy Ratsimbazafy 2022-01-01 17:49:26 +01:00
parent bea798e27c
commit 86a67013dd
No known key found for this signature in database
GPG Key ID: 6227262F49BE273A
10 changed files with 10 additions and 10 deletions

View File

@ -10,11 +10,11 @@ import
std/macros,
../config/[curves, type_ff],
../towers,
./bls12_377_glv,
./bls12_381_glv,
./bn254_nogami_glv,
./bn254_snarks_glv,
./bw6_761_glv
./bls12_377_endomorphisms,
./bls12_381_endomorphisms,
./bn254_nogami_endomorphisms,
./bn254_snarks_endomorphisms,
./bw6_761_endomorphisms
{.experimental: "dynamicBindSym".}

View File

@ -12,7 +12,7 @@ import
# Internal
../primitives,
../config/[common, curves, type_bigint],
../curves/zoo_glv,
../curves/zoo_endomorphisms,
../arithmetic,
../towers,
../isogeny/frobenius,

View File

@ -12,7 +12,7 @@ import
../arithmetic,
../towers,
../io/io_bigints,
../curves/zoo_glv,
../curves/zoo_endomorphisms,
./ec_endomorphism_accel
# ############################################################

View File

@ -237,7 +237,7 @@ def dumpConst(name, inner):
if __name__ == "__main__":
# Usage
# BLS12-381
# sage sage/derive_pairing.sage BLS12_381
# sage sage/derive_endomorphisms.sage BLS12_381
from argparse import ArgumentParser
@ -261,7 +261,7 @@ if __name__ == "__main__":
print('----------------------------------------------------\n')
g2lat, g2babai = genPsiEndo(curve, Curves)
with open(f'{curve.lower()}_glv.nim', 'w') as f:
with open(f'{curve.lower()}_endomorphisms.nim', 'w') as f:
f.write(copyright())
f.write('\n\n')
f.write(inspect.cleandoc(f"""

View File

@ -10,7 +10,7 @@ import std/unittest,
../constantine/config/common,
../constantine/arithmetic,
../constantine/config/curves,
../constantine/curves/zoo_glv
../constantine/curves/zoo_endomorphisms
echo "\n------------------------------------------------------\n"