Module curve25519_dalek::constants
[−]
[src]
This module contains various constants (such as curve parameters
and useful field elements like sqrt(-1)
), as well as
lookup tables of pre-computed points.
Constants
A |
In Montgomery form y² = x³+Ax²+x, Curve25519 has A=486662. |
BASEPOINT |
Basepoint has y = 4/5. |
BASE_CMPRSSD |
Basepoint has y = 4/5. |
EIGHT_TORSION |
The 8-torsion subgroup Ɛ[8]. |
HALF |
Precomputed value of 1/2 (mod p). |
HALF_P_MINUS_1_BYTES |
(p-1)/2, in little-endian bytes. |
HALF_Q_MINUS_1_BYTES |
HALF_Q_MINUS_1_BYTES is (2255-20)/2 expressed in little endian form. |
MSQRT_M1 |
Precomputed value of the other square root of -1 (mod p), i.e., MSQRT_M1 = -SQRT_M1. |
SQRT_M1 |
Precomputed value of one of the square roots of -1 (mod p) |
SQRT_MINUS_A |
SQRT_MINUS_A is sqrt(-486662) |
SQRT_MINUS_HALF |
SQRT_MINUS_HALF is sqrt(-1/2) |
a_minus_d | |
base |
Table containing precomputed multiples of the basepoint |
bi | |
d | |
d2 | |
d4 | |
l |
|
lminus1 |
|