HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_ECCPrivateKey Class Reference

#include <UT_ECC.h>

Public Member Functions

 UT_ECCPrivateKey (const unsigned int *key, int nwords, const UT_ECurve *curve=0)
 
 UT_ECCPrivateKey (const UT_VeryLong &lval, const UT_ECurve *curve=0)
 
void genPubXY (UT_VeryLong &codea, const UT_VeryLong &rnd) const
 
int encode (UT_VeryLong &codea, UT_VeryLong &codeb, const UT_VeryLong &rnd, const UT_VeryLong &message) const
 
int encode (UT_VeryLong &codeb, const unsigned seed[], unsigned seedlen, const UT_VeryLong &message) const
 

Static Public Member Functions

static void genRandom (UT_VeryLong &rnd, const unsigned seed[], unsigned seedlen, const UT_ECurve *curve=0)
 
static bool genRandomRaw (UT_VeryLong &rnd, const unsigned seed[], unsigned seedlen, const UT_ECurve *curve=0)
 

Public Attributes

UT_VeryLong myKey
 
const UT_ECurvemyCurve
 

Detailed Description

Definition at line 21 of file UT_ECC.h.

Constructor & Destructor Documentation

UT_ECCPrivateKey::UT_ECCPrivateKey ( const unsigned int key,
int  nwords,
const UT_ECurve curve = 0 
)
UT_ECCPrivateKey::UT_ECCPrivateKey ( const UT_VeryLong lval,
const UT_ECurve curve = 0 
)

Member Function Documentation

int UT_ECCPrivateKey::encode ( UT_VeryLong codea,
UT_VeryLong codeb,
const UT_VeryLong rnd,
const UT_VeryLong message 
) const
int UT_ECCPrivateKey::encode ( UT_VeryLong codeb,
const unsigned  seed[],
unsigned  seedlen,
const UT_VeryLong message 
) const
void UT_ECCPrivateKey::genPubXY ( UT_VeryLong codea,
const UT_VeryLong rnd 
) const
static void UT_ECCPrivateKey::genRandom ( UT_VeryLong rnd,
const unsigned  seed[],
unsigned  seedlen,
const UT_ECurve curve = 0 
)
static
static bool UT_ECCPrivateKey::genRandomRaw ( UT_VeryLong rnd,
const unsigned  seed[],
unsigned  seedlen,
const UT_ECurve curve = 0 
)
static

Member Data Documentation

const UT_ECurve* UT_ECCPrivateKey::myCurve

Definition at line 57 of file UT_ECC.h.

UT_VeryLong UT_ECCPrivateKey::myKey

Definition at line 56 of file UT_ECC.h.


The documentation for this class was generated from the following file: