27#define X25519_SIZE bigint_required_size ( ( 267 + 7 ) / 8 )
pseudo_bit_t value[0x00020]
static const uint32_t multiplier
Port multiplier number.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define bigint_t(size)
Define a big-integer type.
uint8_t raw[32]
Raw value.
An X25519 unsigned 258-bit integer.
x25519_t value
Big integer value.
An X25519 unsigned 257-bit integer.
x25519_t value
Big integer value.
const union x25519_oct258 oct258
X25519 unsigned 258-bit integer.
struct elliptic_curve x25519_curve
X25519 elliptic curve.
int x25519_is_zero(const struct x25519_value *value)
Check if X25519 value is zero.
void x25519_multiply(const union x25519_oct258 *multiplicand, const union x25519_oct258 *multiplier, union x25519_quad257 *result)
Multiply big integers modulo field prime.
void x25519_reduce(union x25519_quad257 *value)
Reduce big integer to canonical range.
void x25519_key(const struct x25519_value *base, const struct x25519_value *scalar, struct x25519_value *result)
Calculate X25519 key.
void x25519_invert(const union x25519_oct258 *invertend, union x25519_quad257 *result)
Compute multiplicative inverse.
#define X25519_SIZE
X25519 unsigned big integer size.