aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/blowfish.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-04-07 18:58:34 +0000
committerWerner Koch <[email protected]>1999-04-07 18:58:34 +0000
commit9f40263e56cc9ebe28016bb4588da3846342ba79 (patch)
tree1ca711569d0878d441798bf4f185036eda8fceda /cipher/blowfish.h
parentSee ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner Koch (diff)
downloadgnupg-9f40263e56cc9ebe28016bb4588da3846342ba79.tar.gz
gnupg-9f40263e56cc9ebe28016bb4588da3846342ba79.zip
See ChangeLog: Wed Apr 7 20:51:39 CEST 1999 Werner Koch
Diffstat (limited to 'cipher/blowfish.h')
-rw-r--r--cipher/blowfish.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cipher/blowfish.h b/cipher/blowfish.h
index 827baa141..7c34bab3c 100644
--- a/cipher/blowfish.h
+++ b/cipher/blowfish.h
@@ -31,4 +31,14 @@ blowfish_get_info( int algo, size_t *keylen,
void (**decryptf)( void *c, byte *outbuf, byte *inbuf )
);
+/* this is just a kludge for the time we have not yet chnaged the cipher
+ * stuff to the scheme we use for random and digests */
+const char *
+twofish_get_info( int algo, size_t *keylen,
+ size_t *blocksize, size_t *contextsize,
+ int (**setkeyf)( void *c, byte *key, unsigned keylen ),
+ void (**encryptf)( void *c, byte *outbuf, byte *inbuf ),
+ void (**decryptf)( void *c, byte *outbuf, byte *inbuf )
+ );
+
#endif /*G10_BLOWFISH_H*/