diff options
Diffstat (limited to 'randpool.h')
-rw-r--r-- | randpool.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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();
|