partial DSA support
[gnupg.git] / cipher / blowfish.c
index c0979b8..55b9902 100644 (file)
@@ -37,6 +37,7 @@
 #include "util.h"
 #include "types.h"
 #include "blowfish.h"
+#include "random.h"
 
 /* precomputed S boxes */
 static const u32 ks0[256] = {
@@ -421,6 +422,8 @@ blowfish_setkey( BLOWFISH_context *c, byte *key, unsigned keylen )
        selftest();
     }
 
+    fast_random_poll();
+
     for(i=0; i < BLOWFISH_ROUNDS+2; i++ )
        c->p[i] = ps[i];
     for(i=0; i < 256; i++ ) {