diff options
author | Werner Koch <[email protected]> | 2002-08-04 22:00:32 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-08-04 22:00:32 +0000 |
commit | 705873c41b194a5e93e471be69dfebd0103aaa09 (patch) | |
tree | 168005c65941d88d81e9f11774118dfce8889b14 /cipher/algorithms.h | |
parent | * configure.ac (ALL_LINGUAS): Added Catalan. (diff) | |
download | gnupg-705873c41b194a5e93e471be69dfebd0103aaa09.tar.gz gnupg-705873c41b194a5e93e471be69dfebd0103aaa09.zip |
Removed some obsolete header files.V1-1-91
Diffstat (limited to 'cipher/algorithms.h')
-rw-r--r-- | cipher/algorithms.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/cipher/algorithms.h b/cipher/algorithms.h index a6b910612..694a7e35c 100644 --- a/cipher/algorithms.h +++ b/cipher/algorithms.h @@ -62,5 +62,57 @@ tiger_get_info (int algo, size_t *contextsize, ); +const char * +des_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 ) + ); + +const char * +cast5_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 ) + ); + + +const char * +blowfish_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 ) + ); + +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 ) + ); + +/* this is just a kludge for the time we have not yet changed the cipher + * stuff to the scheme we use for random and digests */ +const char * +rijndael_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 ) + ); + +const char * +idea_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 /*GNUPG_ALGORITHMS_H*/ |