Elliptic Curve Cryptography (ECC)
[API]

Data Structures

struct  C4eEcDomain
 Elliptic Curve domain parameters. More...

Modules

 ECC over binary field

Defines

#define C4E_EC_PTFMT_PC_Y
#define C4E_EC_PTFMT_PC_C
#define C4E_EC_PTFMT_PC_U
#define C4E_EC_PTFMT_PC_H
#define C4E_EC_GF_BYTES_MAX
 Maximum size of a field element in the underlying prime field $ \mathbb{F}_p $ or binary field $ \mathbb{F}_{2^n} $, in bytes.

Typedefs

typedef C4eElemPair C4eEcPoint
 Elliptic Curve (EC) point.

Define Documentation

#define C4E_EC_PTFMT_PC_Y

sign of y / x when compressed

Definition at line 172 of file c4e_ec.h.

#define C4E_EC_PTFMT_PC_C

"Compressed" (or hybrid) flag

Definition at line 173 of file c4e_ec.h.

#define C4E_EC_PTFMT_PC_U

"Uncompressed" (or hybrid) flag

Definition at line 174 of file c4e_ec.h.

#define C4E_EC_PTFMT_PC_H

"Hybrid" format

Definition at line 175 of file c4e_ec.h.

#define C4E_EC_GF_BYTES_MAX

Maximum size of a field element in the underlying prime field $ \mathbb{F}_p $ or binary field $ \mathbb{F}_{2^n} $, in bytes.

Customize:
Simply undefine C4E_EC_GF_BYTES_MAX to support longer (unlimited) field sizes. Modify it if you want to limit the size of EC modulus to this value (recommended for static memory reservation).

Definition at line 188 of file c4e_ec.h.