diff options
| author | Werner Koch <[email protected]> | 1998-03-09 21:44:06 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-03-09 21:44:06 +0000 |
| commit | a6a8f1e706bd7e528262151bc04ebb9409c2eeed (patch) | |
| tree | 20b5771581e695a22559d8ffe3f90862afb11e3d /cipher/blowfish.c | |
| parent | removed g10maint.c (diff) | |
| download | gnupg-a6a8f1e706bd7e528262151bc04ebb9409c2eeed.tar.gz gnupg-a6a8f1e706bd7e528262151bc04ebb9409c2eeed.zip | |
partial DSA support
Diffstat (limited to 'cipher/blowfish.c')
| -rw-r--r-- | cipher/blowfish.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher/blowfish.c b/cipher/blowfish.c index c0979b8ce..55b99025c 100644 --- a/cipher/blowfish.c +++ b/cipher/blowfish.c @@ -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++ ) { |
