aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/blowfish.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-04-09 10:34:44 +0000
committerWerner Koch <[email protected]>1999-04-09 10:34:44 +0000
commit02d018f9c84c8f3462ff30c2f5336a3acbc9cd38 (patch)
tree0ac69079ad82fc3c6767fa571428da93d091ef81 /cipher/blowfish.c
parentSee ChangeLog: Thu Apr 8 09:35:53 CEST 1999 Werner Koch (diff)
downloadgnupg-02d018f9c84c8f3462ff30c2f5336a3acbc9cd38.tar.gz
gnupg-02d018f9c84c8f3462ff30c2f5336a3acbc9cd38.zip
See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner Koch
Diffstat (limited to 'cipher/blowfish.c')
-rw-r--r--cipher/blowfish.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cipher/blowfish.c b/cipher/blowfish.c
index 8bfce67c9..5a829d413 100644
--- a/cipher/blowfish.c
+++ b/cipher/blowfish.c
@@ -42,7 +42,6 @@
#define CIPHER_ALGO_BLOWFISH 4 /* blowfish 128 bit key */
-#define CIPHER_ALGO_BLOWFISH160 42 /* blowfish 160 bit key (not in OpenPGP)*/
#define FNCCAST_SETKEY(f) (int(*)(void*, byte*, unsigned))(f)
#define FNCCAST_CRYPT(f) (void(*)(void*, byte*, byte*))(f)
@@ -582,7 +581,7 @@ blowfish_get_info( int algo, size_t *keylen,
void (**r_decrypt)( void *c, byte *outbuf, byte *inbuf )
)
{
- *keylen = algo == CIPHER_ALGO_BLOWFISH ? 128 : 160;
+ *keylen = 128;
*blocksize = BLOWFISH_BLOCKSIZE;
*contextsize = sizeof(BLOWFISH_context);
*r_setkey = FNCCAST_SETKEY(bf_setkey);
@@ -591,8 +590,6 @@ blowfish_get_info( int algo, size_t *keylen,
if( algo == CIPHER_ALGO_BLOWFISH )
return "BLOWFISH";
- if( algo == CIPHER_ALGO_BLOWFISH160 )
- return "BLOWFISH160";
return NULL;
}