HDK
|
#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_ECurve * | myCurve |
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 |
||
) |
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 |
|
static |
UT_VeryLong UT_ECCPrivateKey::myKey |