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. |
BASE_CMPRSSD |
Basepoint has y = 4/5. |
HALF_Q_MINUS_1_BYTES |
HALF_Q_MINUS_1_BYTES is (2255-20)/2 expressed in little endian form. |
SQRT_M1 | |
SQRT_MINUS_A |
SQRT_MINUS_A is sqrt(-486662) |
SQRT_MINUS_HALF |
SQRT_MINUS_HALF is sqrt(-1/2) |
base |
Table containing precomputed multiples of the basepoint |
bi | |
d | |
d2 |