iPXE
x25519_oct258 Union Reference

An X25519 unsigned 258-bit integer. More...

#include <x25519.h>

Data Fields

x25519_t value
 Big integer value.

Detailed Description

An X25519 unsigned 258-bit integer.

This is an unsigned integer N in the finite field of integers modulo the prime p=2^255-19.

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 258-bit range [0,8p-1].

This type can be used as an input for multiplication (but not for addition or subtraction).

Addition or subtraction will produce an output of this type.

Definition at line 46 of file x25519.h.

Field Documentation

◆ value

x25519_t x25519_oct258::value

Big integer value.

Definition at line 48 of file x25519.h.

Referenced by x25519_add(), x25519_invert(), x25519_invert_okx(), x25519_multiply(), x25519_multiply_okx(), and x25519_subtract().


The documentation for this union was generated from the following file: