_EcCurve Struct Reference
Elliptic curve parameters. More...
#include <ec.h>
Data Fields | |
const char_t * | name |
Curve name. More... | |
const uint8_t * | oid |
Object identifier. More... | |
size_t | oidSize |
OID size. More... | |
EcCurveType | type |
Curve type. More... | |
uint_t | fieldSize |
Field size, in bits. More... | |
uint_t | orderSize |
Order size, in bits. More... | |
const uint32_t | p [EC_MAX_MODULUS_SIZE+1] |
Prime modulus p. More... | |
const uint32_t | pmu [EC_MAX_MODULUS_SIZE+1] |
Pre-computed value mu. More... | |
const uint32_t | a [EC_MAX_MODULUS_SIZE] |
Curve parameter a. More... | |
const uint32_t | b [EC_MAX_MODULUS_SIZE] |
Curve parameter b. More... | |
EcPoint3 | g |
Base point G. More... | |
const uint32_t | q [EC_MAX_ORDER_SIZE+1] |
Order of the base point G. More... | |
const uint32_t | qmu [EC_MAX_ORDER_SIZE+1] |
Pre-computed value mu. More... | |
uint32_t | h |
Cofactor h. More... | |
EcModAlgo | fieldMod |
Field modular reduction. More... | |
EcInvModAlgo | fieldInv |
Field modular inversion. More... | |
EcModAlgo | scalarMod |
Scalar modular reduction. More... | |
EcInvModAlgo | scalarInv |
Scalar modular inversion. More... | |
Detailed Description
Field Documentation
◆ a
const uint32_t a[EC_MAX_MODULUS_SIZE] |
◆ b
const uint32_t b[EC_MAX_MODULUS_SIZE] |
◆ fieldInv
EcInvModAlgo fieldInv |
◆ fieldMod
◆ fieldSize
◆ g
◆ h
◆ name
◆ oid
◆ oidSize
◆ orderSize
◆ p
const uint32_t p[EC_MAX_MODULUS_SIZE+1] |
◆ pmu
const uint32_t pmu[EC_MAX_MODULUS_SIZE+1] |
◆ q
const uint32_t q[EC_MAX_ORDER_SIZE+1] |
◆ qmu
const uint32_t qmu[EC_MAX_ORDER_SIZE+1] |
◆ scalarInv
EcInvModAlgo scalarInv |
◆ scalarMod
◆ type
EcCurveType type |
The documentation for this struct was generated from the following file:
- cyclone_crypto/ecc/ec.h