#include <UT_ECurve.h>
Public Member Functions | |
| UT_ECurve () | |
| UT_ECurve (const uint q[], const char *r, const char *a, const char *b, const char *gx, const char *gy) | |
| void | setQ (const uint q[]) |
| void | setR (int x) |
| void | setR (const char *x) |
| void | setR (const UT_VeryLong &x) |
| void | setA (int x) |
| void | setA (const char *x) |
| void | setA (const UT_PolyField &x) |
| void | setB (int x) |
| void | setB (const char *x) |
| void | setB (const UT_PolyField &x) |
| void | setGx (int x) |
| void | setGx (const char *x) |
| void | setGx (const UT_PolyField &x) |
| void | setGy (int x) |
| void | setGy (const char *x) |
| void | setGy (const UT_PolyField &x) |
| const UT_VeryLong & | getR () const |
| const UT_PolyField & | getQ () const |
| const UT_PolyField & | getA () const |
| const UT_PolyField & | getB () const |
| const UT_PolyField & | getGx () const |
| const UT_PolyField & | getGy () const |
| void | generateRandom (UT_VeryLong &r, const uint *seed, uint seedlen) const |
| bool | generateRandomRaw (UT_VeryLong &r, const uint *seed, uint len) const |
| void | generatePublic (UT_PolyField &pubx, UT_PolyField &puby, const UT_VeryLong &key) const |
| bool | dsa (UT_VeryLong &acode, UT_VeryLong &bcode, const UT_VeryLong &key, const UT_VeryLong &r, const UT_VeryLong &m) const |
| void | partialDSA (UT_VeryLong &code, const UT_VeryLong &key, const UT_VeryLong &rnd) const |
| bool | verify (const UT_VeryLong &m, const UT_VeryLong &code, const UT_VeryLong &codeb, const UT_PolyField &pubx, const UT_PolyField &puby) const |
| void | dump (int base=16) const |
Definition at line 29 of file UT_ECurve.h.
| UT_ECurve::UT_ECurve | ( | ) | [inline] |
Definition at line 31 of file UT_ECurve.h.
| UT_ECurve::UT_ECurve | ( | const uint | q[], | |
| const char * | r, | |||
| const char * | a, | |||
| const char * | b, | |||
| const char * | gx, | |||
| const char * | gy | |||
| ) | [inline] |
Definition at line 32 of file UT_ECurve.h.
| bool UT_ECurve::dsa | ( | UT_VeryLong & | acode, | |
| UT_VeryLong & | bcode, | |||
| const UT_VeryLong & | key, | |||
| const UT_VeryLong & | r, | |||
| const UT_VeryLong & | m | |||
| ) | const |
| void UT_ECurve::dump | ( | int | base = 16 |
) | const |
| void UT_ECurve::generatePublic | ( | UT_PolyField & | pubx, | |
| UT_PolyField & | puby, | |||
| const UT_VeryLong & | key | |||
| ) | const |
| void UT_ECurve::generateRandom | ( | UT_VeryLong & | r, | |
| const uint * | seed, | |||
| uint | seedlen | |||
| ) | const |
| bool UT_ECurve::generateRandomRaw | ( | UT_VeryLong & | r, | |
| const uint * | seed, | |||
| uint | len | |||
| ) | const |
| const UT_PolyField& UT_ECurve::getA | ( | ) | const [inline] |
Definition at line 82 of file UT_ECurve.h.
| const UT_PolyField& UT_ECurve::getB | ( | ) | const [inline] |
Definition at line 83 of file UT_ECurve.h.
| const UT_PolyField& UT_ECurve::getGx | ( | ) | const [inline] |
Definition at line 84 of file UT_ECurve.h.
| const UT_PolyField& UT_ECurve::getGy | ( | ) | const [inline] |
Definition at line 85 of file UT_ECurve.h.
| const UT_PolyField& UT_ECurve::getQ | ( | ) | const [inline] |
Definition at line 81 of file UT_ECurve.h.
| const UT_VeryLong& UT_ECurve::getR | ( | ) | const [inline] |
Definition at line 80 of file UT_ECurve.h.
| void UT_ECurve::partialDSA | ( | UT_VeryLong & | code, | |
| const UT_VeryLong & | key, | |||
| const UT_VeryLong & | rnd | |||
| ) | const |
| void UT_ECurve::setA | ( | const UT_PolyField & | x | ) | [inline] |
Definition at line 69 of file UT_ECurve.h.
| void UT_ECurve::setA | ( | const char * | x | ) | [inline] |
Definition at line 68 of file UT_ECurve.h.
| void UT_ECurve::setA | ( | int | x | ) | [inline] |
Definition at line 67 of file UT_ECurve.h.
| void UT_ECurve::setB | ( | const UT_PolyField & | x | ) | [inline] |
Definition at line 72 of file UT_ECurve.h.
| void UT_ECurve::setB | ( | const char * | x | ) | [inline] |
Definition at line 71 of file UT_ECurve.h.
| void UT_ECurve::setB | ( | int | x | ) | [inline] |
Definition at line 70 of file UT_ECurve.h.
| void UT_ECurve::setGx | ( | const UT_PolyField & | x | ) | [inline] |
Definition at line 75 of file UT_ECurve.h.
| void UT_ECurve::setGx | ( | const char * | x | ) | [inline] |
Definition at line 74 of file UT_ECurve.h.
| void UT_ECurve::setGx | ( | int | x | ) | [inline] |
Definition at line 73 of file UT_ECurve.h.
| void UT_ECurve::setGy | ( | const UT_PolyField & | x | ) | [inline] |
Definition at line 78 of file UT_ECurve.h.
| void UT_ECurve::setGy | ( | const char * | x | ) | [inline] |
Definition at line 77 of file UT_ECurve.h.
| void UT_ECurve::setGy | ( | int | x | ) | [inline] |
Definition at line 76 of file UT_ECurve.h.
| void UT_ECurve::setQ | ( | const uint | q[] | ) | [inline] |
Definition at line 48 of file UT_ECurve.h.
| void UT_ECurve::setR | ( | const UT_VeryLong & | x | ) | [inline] |
Definition at line 66 of file UT_ECurve.h.
| void UT_ECurve::setR | ( | const char * | x | ) | [inline] |
Definition at line 65 of file UT_ECurve.h.
| void UT_ECurve::setR | ( | int | x | ) | [inline] |
Definition at line 64 of file UT_ECurve.h.
| bool UT_ECurve::verify | ( | const UT_VeryLong & | m, | |
| const UT_VeryLong & | code, | |||
| const UT_VeryLong & | codeb, | |||
| const UT_PolyField & | pubx, | |||
| const UT_PolyField & | puby | |||
| ) | const |
1.5.9