Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

EcCurveInfo Struct Reference

EcCurveInfo Struct Reference

Elliptic curve parameters. More...

#include <ec_curves.h>

Data Fields

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

Detailed Description

Elliptic curve parameters.

Definition at line 91 of file ec_curves.h.


Field Documentation

const uint8_t a[66]

Curve parameter a.

Definition at line 99 of file ec_curves.h.

size_t aLen

Length of a.

Definition at line 100 of file ec_curves.h.

const uint8_t b[66]

Curve parameter b.

Definition at line 101 of file ec_curves.h.

size_t bLen

Length of b.

Definition at line 102 of file ec_curves.h.

const uint8_t gx[66]

x-coordinate of the base point G

Definition at line 103 of file ec_curves.h.

size_t gxLen

Length of Gx.

Definition at line 104 of file ec_curves.h.

const uint8_t gy[66]

y-coordinate of the base point G

Definition at line 105 of file ec_curves.h.

size_t gyLen

Length of Gy.

Definition at line 106 of file ec_curves.h.

uint32_t h

Cofactor h.

Definition at line 109 of file ec_curves.h.

Fast modular reduction.

Definition at line 110 of file ec_curves.h.

const char_t* name

Curve name.

Definition at line 93 of file ec_curves.h.

const uint8_t* oid

Object identifier.

Definition at line 94 of file ec_curves.h.

size_t oidSize

OID size.

Definition at line 95 of file ec_curves.h.

const uint8_t p[66]

Prime modulus p.

Definition at line 97 of file ec_curves.h.

size_t pLen

Length of p.

Definition at line 98 of file ec_curves.h.

const uint8_t q[66]

Order of the base point G.

Definition at line 107 of file ec_curves.h.

size_t qLen

Length of q.

Definition at line 108 of file ec_curves.h.

Curve type.

Definition at line 96 of file ec_curves.h.