summaryrefslogtreecommitdiff
path: root/rng.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
commit572fe07633123ce38abf28c6426356e37aef3a99 (patch)
tree0536d87e504a82920156c239bc5ae6aa43e70ebc /rng.h
parent3e8c979ddc194e043567c036321e67c89f847362 (diff)
downloadcryptopp-572fe07633123ce38abf28c6426356e37aef3a99.tar.gz
create DLL version, fix GetNextIV() bug in CTR and OFB modes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rng.h')
-rw-r--r--rng.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rng.h b/rng.h
index 1ca082e..097cae7 100644
--- a/rng.h
+++ b/rng.h
@@ -1,3 +1,5 @@
+// rng.h - misc RNG related classes, see also osrng.h, randpool.h
+
#ifndef CRYPTOPP_RNG_H
#define CRYPTOPP_RNG_H
@@ -29,7 +31,7 @@ private:
//! RNG derived from ANSI X9.17 Appendix C
-class X917RNG : public RandomNumberGenerator
+class CRYPTOPP_DLL X917RNG : public RandomNumberGenerator, public NotCopyable
{
public:
// cipher will be deleted by destructor, deterministicTimeVector = 0 means obtain time vector from system