summaryrefslogtreecommitdiff
path: root/rng.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-15 00:38:48 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-15 00:38:48 +0000
commit78cbd84a0068db09b6d08ff14a316800ad9be89a (patch)
tree2be608b49b99003d7d6f49ac33abd7bbe763d7d9 /rng.h
parent0a0244dacface689335de6e0edf978b29ddb66e1 (diff)
downloadcryptopp-78cbd84a0068db09b6d08ff14a316800ad9be89a.tar.gz
fix bug in Grouper
add RIPEMD-???, Whirlpool, Shacal2, Camellia, Two-Track MAC (Kevin Springle) change ChannelSwitch to allow non-blocking input (denis bider) change Redirector to allow more options (denis bider) fix MaurerRandomnessTest optimize MD2 (Kevin Springle) git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@55 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rng.h')
-rw-r--r--rng.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/rng.h b/rng.h
index 5b0998d..1ca082e 100644
--- a/rng.h
+++ b/rng.h
@@ -50,13 +50,12 @@ private:
it is intended for measuring the randomness of *PHYSICAL* RNGs.
For more details see his paper in Journal of Cryptology, 1992. */
-class MaurerRandomnessTest : public Sink
+class MaurerRandomnessTest : public Bufferless<Sink>
{
public:
MaurerRandomnessTest();
- void Put(byte inByte);
- void Put(const byte *inString, unsigned int length);
+ unsigned int Put2(const byte *inString, unsigned int length, int messageEnd, bool blocking);
// BytesNeeded() returns how many more bytes of input is needed by the test
// GetTestValue() should not be called before BytesNeeded()==0