diff options
author | Jack Lloyd <[email protected]> | 2016-03-16 18:42:49 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-03-16 18:42:49 -0400 |
commit | b5d8783fccbd4b6686708fd4f2f84eaada3e8fed (patch) | |
tree | 75e6615a0c972da54f29593dd19f468b3a1fe0c3 /src/lib/rng | |
parent | f209329d885310fb510742317a20d1f51099b29e (diff) |
Use rejection sampling in BigInt::random_integer
Avoids the test vector contortions in RSA-KEM
Diffstat (limited to 'src/lib/rng')
-rw-r--r-- | src/lib/rng/rng.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/rng/rng.h b/src/lib/rng/rng.h index 2e29a713c..3fd3dcec8 100644 --- a/src/lib/rng/rng.h +++ b/src/lib/rng/rng.h @@ -132,6 +132,8 @@ class BOTAN_DLL RandomNumberGenerator virtual ~RandomNumberGenerator() {} }; +typedef RandomNumberGenerator RNG; + /** * Null/stub RNG - fails if you try to use it for anything */ |