From 78cbd84a0068db09b6d08ff14a316800ad9be89a Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 15 Apr 2003 00:38:48 +0000 Subject: 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 --- rng.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'rng.h') 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 { 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 -- cgit v1.2.1