EcCurveInfo Struct Reference

Elliptic curve parameters. More...

#include <ec_curves.h>

Data Fields

const char_tname
 Curve name. More...
 
const uint8_t * oid
 Object identifier. More...
 
size_t oidSize
 OID size. More...
 
EcCurveType type
 Curve type. More...
 
const uint8_t p [66]
 Prime modulus p. More...
 
size_t pLen
 Length of p. More...
 
const uint8_t a [66]
 Curve parameter a. More...
 
size_t aLen
 Length of a. More...
 
const uint8_t b [66]
 Curve parameter b. More...
 
size_t bLen
 Length of b. More...
 
const uint8_t gx [66]
 x-coordinate of the base point G More...
 
size_t gxLen
 Length of Gx. More...
 
const uint8_t gy [66]
 y-coordinate of the base point G More...
 
size_t gyLen
 Length of Gy. More...
 
const uint8_t q [66]
 Order of the base point G. More...
 
size_t qLen
 Length of q. More...
 
uint32_t h
 Cofactor h. More...
 
EcFastModAlgo mod
 Fast modular reduction. More...
 

Detailed Description

Elliptic curve parameters.

Definition at line 301 of file ec_curves.h.

Field Documentation

◆ a

const uint8_t a[66]

Curve parameter a.

Definition at line 309 of file ec_curves.h.

◆ aLen

size_t aLen

Length of a.

Definition at line 310 of file ec_curves.h.

◆ b

const uint8_t b[66]

Curve parameter b.

Definition at line 311 of file ec_curves.h.

◆ bLen

size_t bLen

Length of b.

Definition at line 312 of file ec_curves.h.

◆ gx

const uint8_t gx[66]

x-coordinate of the base point G

Definition at line 313 of file ec_curves.h.

◆ gxLen

size_t gxLen

Length of Gx.

Definition at line 314 of file ec_curves.h.

◆ gy

const uint8_t gy[66]

y-coordinate of the base point G

Definition at line 315 of file ec_curves.h.

◆ gyLen

size_t gyLen

Length of Gy.

Definition at line 316 of file ec_curves.h.

◆ h

uint32_t h

Cofactor h.

Definition at line 319 of file ec_curves.h.

◆ mod

Fast modular reduction.

Definition at line 320 of file ec_curves.h.

◆ name

const char_t* name

Curve name.

Definition at line 303 of file ec_curves.h.

◆ oid

const uint8_t* oid

Object identifier.

Definition at line 304 of file ec_curves.h.

◆ oidSize

size_t oidSize

OID size.

Definition at line 305 of file ec_curves.h.

◆ p

const uint8_t p[66]

Prime modulus p.

Definition at line 307 of file ec_curves.h.

◆ pLen

size_t pLen

Length of p.

Definition at line 308 of file ec_curves.h.

◆ q

const uint8_t q[66]

Order of the base point G.

Definition at line 317 of file ec_curves.h.

◆ qLen

size_t qLen

Length of q.

Definition at line 318 of file ec_curves.h.

◆ type

Curve type.

Definition at line 306 of file ec_curves.h.


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