iPXE

An X25519 unsigned 257bit integer. More...
#include <x25519.h>
Data Fields  
x25519_t  value 
Big integer value. More...  
const union x25519_oct258  oct258 
X25519 unsigned 258bit integer. More...  
An X25519 unsigned 257bit integer.
This is an unsigned integer N in the finite field of integers modulo the prime p=2^25519.
In this representation, N is encoded as any big integer that is in the same congruence class as N (i.e that has the same value as N modulo p) and that lies within the 257bit range [0,4p1].
This type can be used as an input for addition, subtraction, or multiplication.
Multiplication will produce an output of this type.
x25519_t x25519_quad257::value 
Big integer value.
Definition at line 66 of file x25519.h.
Referenced by x25519_add(), x25519_invert_okx(), x25519_key(), and x25519_multiply_okx().
const union x25519_oct258 x25519_quad257::oct258 
X25519 unsigned 258bit integer.
Any value in the range [0,4p1] is automatically also within the range [0,8p1] and so may be consumed as an unsigned 258bit integer.
Definition at line 73 of file x25519.h.
Referenced by x25519_add(), x25519_invert_okx(), x25519_step(), and x25519_subtract().