Public Key Acceleration Library Reference Guide 2.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
ecc_curve_t Struct Reference

#include <pka.h>

Collaboration diagram for ecc_curve_t:
Collaboration graph
[legend]

Public Attributes

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

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
pka_operand_t b
constant coefficient in defining equation
Definition pka.h:779
pka_operand_t p
large integer prime defining the finite field
Definition pka.h:777
pka_operand_t a
coefficient of x in the defining equation
Definition pka.h:778

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: