aboutsummaryrefslogtreecommitdiffstats
path: root/src/bigint/bigint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bigint/bigint.h')
-rw-r--r--src/bigint/bigint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bigint/bigint.h b/src/bigint/bigint.h
index b1286551e..bb1d7ef7b 100644
--- a/src/bigint/bigint.h
+++ b/src/bigint/bigint.h
@@ -115,6 +115,9 @@ class BOTAN_DLL BigInt
void binary_decode(const MemoryRegion<byte>&);
u32bit encoded_size(Base = Binary) const;
+ static BigInt random_integer(RandomNumberGenerator&,
+ const BigInt&, const BigInt&);
+
static SecureVector<byte> encode(const BigInt&, Base = Binary);
static void encode(byte[], const BigInt&, Base = Binary);
static BigInt decode(const byte[], u32bit, Base = Binary);