aboutsummaryrefslogtreecommitdiffstats
path: root/include/bigint.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-03-01 01:22:13 +0000
committerlloyd <[email protected]>2007-03-01 01:22:13 +0000
commit758974e833aca9cd7403fd1835efd84e6e861d3a (patch)
tree269eb8e447b1b93c82a18ed8aea371cd0968920c /include/bigint.h
parentafcd75d5f60be62e7a9dfc8e1a1cda3fc3d0762e (diff)
Add a version of BigInt::binary_decode taking a MemoryRegion of bytes
Diffstat (limited to 'include/bigint.h')
-rw-r--r--include/bigint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bigint.h b/include/bigint.h
index 2fab6645c..44382b063 100644
--- a/include/bigint.h
+++ b/include/bigint.h
@@ -86,6 +86,7 @@ class BigInt
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);