summaryrefslogtreecommitdiff
path: root/randpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'randpool.h')
-rw-r--r--randpool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/randpool.h b/randpool.h
index a24b9dbf..51140145 100644
--- a/randpool.h
+++ b/randpool.h
@@ -87,6 +87,10 @@ public:
byte GenerateByte();
void GenerateBlock(byte *output, size_t size);
+ // Endian swapped on little-endian machines. This is different
+ // behavior from Crypto++ 5.4. Provide an override to correct it.
+ word32 GenerateWord32 (word32 min=0, word32 max=0xffffffffUL);
+
protected:
void Stir();