Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
tests.py File Reference

Go to the source code of this file.

Namespaces

namespace  tests

Functions

 test_3div_poly (a1, a3)

Variables

int runs = 25
 setup = setup_fq(arguments(sys.argv[1:]).bits)
 Fq = setup['Fq']
 p = Fq.characteristic()
 A = Fq(6)
int elapsed_time = 0
 hash_input = hex(randrange(0, p))[2:].encode()
 start_time = time.perf_counter()
 j = cgl_hash2(hash_input, setup, verbose=False)
 end_time = time.perf_counter()
 xs = get_order3_points(A, setup)
 yk = setup['sqrt'](xk**3 + A * xk**2 + xk)
 a1
 a3
 Fp = setup['Fp']