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:
mpc
2004-06-21 08:21:17 +00:00
committed by zzz
parent beb6cc8c0f
commit d502df7d56
2 changed files with 4 additions and 3 deletions

View File

@@ -12,9 +12,9 @@ LOGDIR = log
OBJDIR = obj
SRCDIR = src
SAMINCDIR = ../libsam/inc
SAMLIBDIR = ../libsam/lib
TOMCRYPTDIR = ../libtomcrypt-0.96
SAMINCDIR = ../sam/c/inc
SAMLIBDIR = ../sam/c/lib
TOMCRYPTDIR = $(HOME)/libtomcrypt-0.96
#
# Programs

View File

@@ -39,6 +39,7 @@ class Bigint {
Bigint(uint16_t i);
Bigint(uint32_t i);
~Bigint(void) { mp_clear(&mpi); }
uchar_t* export_uraw(size_t& size) const;
const mp_int& get_mp_int(void) const { return mpi; }
void import_uraw(const uchar_t* data, size_t size);