Contiki-NG
Loading...
Searching...
No Matches
ecc_curve_t Struct Reference

Parameters of an ECC curve in little-endian word order. More...

#include <os/lib/ecc-curve.h>

Data Fields

const char * name
 Name of the curve.
 
const size_t words
 Size of the curve in 32-bit words.
 
const size_t bytes
 Size of the curve in bytes.
 
const uint32_t * p
 The prime that defines the field of the curve.
 
const uint32_t * p_plus_one
 Precomputed value of p + 1.
 
const size_t binary_length_of_p_plus_one
 Length of the binary representation of p + 1.
 
const uint32_t * n
 Order of the curve.
 
const size_t binary_length_of_n
 Length of the binary representation of n.
 
const uint32_t * a
 Coefficient a of the equation.
 
const uint32_t * b
 Coefficient b of the equation.
 
const uint32_t * x
 x coordinate of the generator point.
 
const uint32_t * y
 y coordinate of the generator point.
 

Detailed Description

Parameters of an ECC curve in little-endian word order.

Definition at line 53 of file ecc-curve.h.