Functions | |
| def | main () |
| def | modp_inv (x) |
| def | point_add (P, Q) |
| def | point_mul (s, P) |
| def | recover_x (y, sign) |
| def | to_base_25_5 (x) |
| def | to_base_51 (x) |
| def | to_bytes (x) |
| def | to_ge_precomp (P) |
| def | to_literal (x) |
Variables | |
| int | d = -121665 * modp_inv(121666) % p |
| def | g_x = recover_x(g_y, 0) |
| int | g_y = 4 * modp_inv(5) % p |
| modp_sqrt_m1 = pow(2, (p-1) // 4, p) | |
| int | p = 2**255 - 19 |
| def make_curve25519_tables.main | ( | ) |
Definition at line 120 of file make_curve25519_tables.py.
| def make_curve25519_tables.modp_inv | ( | x | ) |
Definition at line 23 of file make_curve25519_tables.py.
| def make_curve25519_tables.point_add | ( | P, | |
| Q | |||
| ) |
Definition at line 61 of file make_curve25519_tables.py.
| def make_curve25519_tables.point_mul | ( | s, | |
| P | |||
| ) |
Definition at line 69 of file make_curve25519_tables.py.
| def make_curve25519_tables.recover_x | ( | y, | |
| sign | |||
| ) |
Definition at line 31 of file make_curve25519_tables.py.
| def make_curve25519_tables.to_base_25_5 | ( | x | ) |
Definition at line 95 of file make_curve25519_tables.py.
| def make_curve25519_tables.to_base_51 | ( | x | ) |
Definition at line 104 of file make_curve25519_tables.py.
| def make_curve25519_tables.to_bytes | ( | x | ) |
Definition at line 78 of file make_curve25519_tables.py.
| def make_curve25519_tables.to_ge_precomp | ( | P | ) |
Definition at line 86 of file make_curve25519_tables.py.
| def make_curve25519_tables.to_literal | ( | x | ) |
Definition at line 112 of file make_curve25519_tables.py.
Definition at line 53 of file make_curve25519_tables.py.
Definition at line 57 of file make_curve25519_tables.py.
Definition at line 56 of file make_curve25519_tables.py.
Definition at line 27 of file make_curve25519_tables.py.
| int make_curve25519_tables.p = 2**255 - 19 |
Definition at line 21 of file make_curve25519_tables.py.