diff options
author | Werner Koch <wk@gnupg.org> | 1998-03-09 21:43:50 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-03-09 21:43:50 +0000 |
commit | b26d230c07a8e602e749adf8159ca9db3a509eaf (patch) | |
tree | 6d51347d0b8a02be57cd885c9e352b2b29df2594 /cipher/blowfish.c | |
parent | 2a815f4a05881f8c19e1ce98230694339380c22f (diff) | |
download | libgcrypt-b26d230c07a8e602e749adf8159ca9db3a509eaf.tar.gz |
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 c0979b8c..55b99025 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++ ) { |