diff options
author | Werner Koch <wk@gnupg.org> | 2000-07-14 17:34:52 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2000-07-14 17:34:52 +0000 |
commit | 74386120dad6b3da62db37f7044267c8ef34689b (patch) | |
tree | 16fc58b6817d55a9556192a064d573ea8a174a93 /cipher/blowfish.c | |
parent | eef468f4897c6d46fe46c2a9635151e2257e3dd1 (diff) | |
download | libgcrypt-74386120dad6b3da62db37f7044267c8ef34689b.tar.gz |
See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch
Diffstat (limited to 'cipher/blowfish.c')
-rw-r--r-- | cipher/blowfish.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cipher/blowfish.c b/cipher/blowfish.c index e7f047ff..2bdb3b5e 100644 --- a/cipher/blowfish.c +++ b/cipher/blowfish.c @@ -584,9 +584,12 @@ blowfish_get_info( int algo, size_t *keylen, *keylen = 128; *blocksize = BLOWFISH_BLOCKSIZE; *contextsize = sizeof(BLOWFISH_context); - *r_setkey = FNCCAST_SETKEY(bf_setkey); - *r_encrypt= FNCCAST_CRYPT(encrypt_block); - *r_decrypt= FNCCAST_CRYPT(decrypt_block); + *(int (**)(BLOWFISH_context*, byte*, unsigned))r_setkey + = bf_setkey; + *(void (**)(BLOWFISH_context*, byte*, byte*))r_encrypt + = encrypt_block; + *(void (**)(BLOWFISH_context*, byte*, byte*))r_decrypt + = decrypt_block; if( algo == CIPHER_ALGO_BLOWFISH ) return "BLOWFISH"; |