Public Key Acceleration Library Reference Guide  1.0
Public Attributes | List of all members
ecc_curve_t Struct Reference

#include <pka.h>

Public Attributes

pka_operand_t p
 large integer prime defining the finite field More...
 
pka_operand_t a
 coefficient of x in the defining equation More...
 
pka_operand_t b
 constant coefficient in defining equation More...
 

Detailed Description

The ecc_curve_t record type is used to represent an elliptic curve.

It holds all of the parameters defining an elliptic curve over a large prime number finite field. The prime used as the modulus is called 'p'. The parameters of the general curve are called 'a' and 'b'. The formula defining the curve is:

// The curve is defined as all possible (x,y) values such that
// x,y are integers in the range 0..p-1 (where p must be an odd prime).
// and the x,y values also satisfy:
y^2 mod p = (x^3 + a*x + b) mod p

Member Data Documentation

◆ a

pka_operand_t ecc_curve_t::a

coefficient of x in the defining equation

◆ b

pka_operand_t ecc_curve_t::b

constant coefficient in defining equation

◆ p

pka_operand_t ecc_curve_t::p

large integer prime defining the finite field


The documentation for this struct was generated from the following file:
ecc_curve_t::a
pka_operand_t a
coefficient of x in the defining equation
Definition: pka.h:790
ecc_curve_t::b
pka_operand_t b
constant coefficient in defining equation
Definition: pka.h:791
ecc_curve_t::p
pka_operand_t p
large integer prime defining the finite field
Definition: pka.h:789