diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-12-11 12:24:54 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-12-11 12:24:54 +0000 |
commit | 7a707064d7d212cd4f2fbb7e90720cb3893686d1 (patch) | |
tree | 0210b6a13d458d6adcf38e093198aa3376ad7763 /mpi.h | |
parent | fixed Makefile, ip detection (diff) |
fixes in mpi class, keyderivation iv generation
Diffstat (limited to 'mpi.h')
-rw-r--r-- | mpi.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -49,8 +49,10 @@ public: void operator=(long unsigned int); Mpi operator+(const Mpi &b) const; Mpi operator^(const Mpi &b) const; + Mpi operator*(const unsigned long int n) const; - void rShift(u_int8_t n); + void rShift(u_int8_t n); // LSB on the right side! + Mpi mul2exp(u_int32_t e) const; // value * 2^e Buffer getBuf() const; u_int32_t getLen() const; |