UT_ECCPrivateKey Class Reference

#include <UT_ECC.h>

List of all members.

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 29 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 codeb,
const unsigned  seed[],
unsigned  seedlen,
const UT_VeryLong message 
) const

int UT_ECCPrivateKey::encode ( UT_VeryLong codea,
UT_VeryLong codeb,
const UT_VeryLong rnd,
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

Definition at line 65 of file UT_ECC.h.

Definition at line 64 of file UT_ECC.h.


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

Generated on Mon Jan 28 00:49:02 2013 for HDK by  doxygen 1.5.9