forked from I2P_Developers/i2p.i2p
Make this compile straight out of CVS (you have to have libtomcrypt compiled in a libtomcrypt-0.96 directory in your home directory)
This commit is contained in:
@@ -12,9 +12,9 @@ LOGDIR = log
|
|||||||
OBJDIR = obj
|
OBJDIR = obj
|
||||||
SRCDIR = src
|
SRCDIR = src
|
||||||
|
|
||||||
SAMINCDIR = ../libsam/inc
|
SAMINCDIR = ../sam/c/inc
|
||||||
SAMLIBDIR = ../libsam/lib
|
SAMLIBDIR = ../sam/c/lib
|
||||||
TOMCRYPTDIR = ../libtomcrypt-0.96
|
TOMCRYPTDIR = $(HOME)/libtomcrypt-0.96
|
||||||
|
|
||||||
#
|
#
|
||||||
# Programs
|
# Programs
|
||||||
|
@@ -39,6 +39,7 @@ class Bigint {
|
|||||||
Bigint(uint16_t i);
|
Bigint(uint16_t i);
|
||||||
Bigint(uint32_t i);
|
Bigint(uint32_t i);
|
||||||
~Bigint(void) { mp_clear(&mpi); }
|
~Bigint(void) { mp_clear(&mpi); }
|
||||||
|
|
||||||
uchar_t* export_uraw(size_t& size) const;
|
uchar_t* export_uraw(size_t& size) const;
|
||||||
const mp_int& get_mp_int(void) const { return mpi; }
|
const mp_int& get_mp_int(void) const { return mpi; }
|
||||||
void import_uraw(const uchar_t* data, size_t size);
|
void import_uraw(const uchar_t* data, size_t size);
|
||||||
|
Reference in New Issue
Block a user