39 #ifndef ti_drivers_cryptoutils_ecc_ECCParams__include 40 #define ti_drivers_cryptoutils_ecc_ECCParams__include 59 #define ECCParams_STATUS_SUCCESS (0) 67 #define ECCParams_STATUS_ERROR (-1) const ECCParams_CurveType curveType
Definition: ECCParams.h:112
ECCParams_CurveType_
Enumeration of curve equations supported.
Definition: ECCParams.h:95
The CryptoKey type is an opaque representation of a cryptographic key.
const uint8_t * b
Coefficient b of the equation.
Definition: ECCParams.h:117
CryptoKey datastructure.
Definition: CryptoKey.h:210
const ECCParams_CurveParams ECCParams_BrainpoolP512R1
The BrainpoolP512R1 curve in short Weierstrass form.
const ECCParams_CurveParams ECCParams_NISTP384
The NISTP384 curve in short Weierstrass form.
A structure containing the parameters of an elliptic curve in short Weierstrass form.
Definition: ECCParams.h:111
const ECCParams_CurveParams ECCParams_BrainpoolP256R1
The BrainpoolP256R1 curve in short Weierstrass form.
const size_t length
Length of the curve in bytes. All other buffers have this length.
Definition: ECCParams.h:113
const ECCParams_CurveParams ECCParams_NISTP256
The NISTP256 curve in short Weierstrass form.
const uint8_t * generatorX
X coordinate of the generator point of the curve.
Definition: ECCParams.h:118
Definition: ECCParams.h:97
const uint8_t * generatorY
Y coordinate of the generator point of the curve.
Definition: ECCParams.h:119
const uint8_t * prime
The prime that defines the field of the curve.
Definition: ECCParams.h:114
const uint8_t * order
Order of the curve.
Definition: ECCParams.h:115
enum ECCParams_CurveType_ ECCParams_CurveType
Enumeration of curve equations supported.
Definition: ECCParams.h:98
const ECCParams_CurveParams ECCParams_Curve25519
The Curve25519 curve in Montgomery form.
Definition: ECCParams.h:96
const ECCParams_CurveParams ECCParams_BrainpoolP384R1
The BrainpoolP384R1 curve in short Weierstrass form.
const ECCParams_CurveParams ECCParams_NISTP224
The NISTP224 curve in short Weierstrass form.
struct ECCParams_CurveParams_ ECCParams_CurveParams
A structure containing the parameters of an elliptic curve in short Weierstrass form.
int_fast16_t ECCParams_FormatCurve25519PrivateKey(CryptoKey *myPrivateKey)
Formats a CryptoKey to conform to Curve25519 private key requirements.
const ECCParams_CurveParams ECCParams_NISTP521
The NISTP521 curve in short Weierstrass form.
const uint8_t * a
Coefficient a of the equation.
Definition: ECCParams.h:116