The unified diff between revisions [63c067b5..] and [67768644..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'include/bigint.h'
#
#
# patch "include/bigint.h"
# from [689ece18a80002a375af09f33d855f33469aa0f6]
# to [f81e5621041cfc85cafbe2a72f9ce5fb7145ec58]
#
============================================================
--- include/bigint.h 689ece18a80002a375af09f33d855f33469aa0f6
+++ include/bigint.h f81e5621041cfc85cafbe2a72f9ce5fb7145ec58
@@ -78,14 +78,15 @@ class BigInt
SecureVector<word>& get_reg() { return reg; }
void grow_reg(u32bit) const;
- word& operator[](u32bit index) { return reg[index]; }
- word operator[](u32bit index) const { return reg[index]; }
+ word& operator[](u32bit);
+ word operator[](u32bit) const;
void clear() { reg.clear(); }
void randomize(u32bit = 0);
void binary_encode(byte[]) const;
void binary_decode(const byte[], u32bit);
+ void binary_decode(const MemoryRegion<byte>&);
u32bit encoded_size(Base = Binary) const;
static SecureVector<byte> encode(const BigInt&, Base = Binary);