updates.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 5 Jun 2001 17:43:49 +0000 (17:43 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 5 Jun 2001 17:43:49 +0000 (17:43 +0000)
lib/silccrypt/silcrng.c

index 6d08cfc71c4b729b568a7bf231bc0deb93ace51e..30fb5f4825211cbc2dd02a7850622b3d79be9140 100644 (file)
 #undef SILC_RNG_DEBUG
 /*#define SILC_RNG_DEBUG*/
 
+/* Number of states to fetch data from pool. */
+#define SILC_RNG_STATE_NUM 4
+
+/* Byte size of the random data pool. */
+#define SILC_RNG_POOLSIZE 1024
+
 static uint32 silc_rng_get_position(SilcRng rng);
 static void silc_rng_stir_pool(SilcRng rng);
 static void silc_rng_xor(SilcRng rng, uint32 val, unsigned int pos);