diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-06-17 17:51:52 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-06-17 17:51:52 -0400 |
commit | fabd88e4e47bf7024ce75ad7eca95483e1f2eb9a (patch) | |
tree | f5578c0c88f17f49453a630ba10014c944485639 /randpool.h | |
parent | 89424327e5541ca433de0c332dfb8c0502776fbf (diff) | |
download | cryptopp-git-fabd88e4e47bf7024ce75ad7eca95483e1f2eb9a.tar.gz |
Use GenerateWord32 impl from Crypto++ 5.4
Also see https://groups.google.com/g/cryptopp-users/c/YOl2FGXSp44
Diffstat (limited to 'randpool.h')
-rw-r--r-- | randpool.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -87,8 +87,7 @@ 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.
+ // GenerateWord32 is overriden and provides Crypto++ 5.4 behavior.
word32 GenerateWord32 (word32 min=0, word32 max=0xffffffffUL);
protected:
|