diff options
author | Werner Koch <[email protected]> | 1998-07-29 19:35:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-07-29 19:35:05 +0000 |
commit | 5ae562b41d9e3ec965643b902bf8593c8ca5a2d7 (patch) | |
tree | 059ed09c380b3f534479add19933dbe9a7a401c9 /include/cipher.h | |
parent | changed trustdb design (diff) | |
download | gnupg-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.tar.gz gnupg-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.zip |
edit-key is now complete
Diffstat (limited to 'include/cipher.h')
-rw-r--r-- | include/cipher.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cipher.h b/include/cipher.h index 0e2b95a79..8ddd3655a 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -35,6 +35,7 @@ #define CIPHER_ALGO_DES_SK 6 #define CIPHER_ALGO_BLOWFISH160 42 /* blowfish 160 bit key (not in OpenPGP)*/ #define CIPHER_ALGO_SKIPJACK 101 /* experimental: skipjack */ +#define CIPHER_ALGO_TWOFISH 102 /* experimental: twofish 128 bit */ #define CIPHER_ALGO_DUMMY 110 /* no encryption at all */ #define PUBKEY_ALGO_RSA 1 @@ -130,6 +131,7 @@ int string_to_cipher_algo( const char *string ); const char * cipher_algo_to_string( int algo ); int check_cipher_algo( int algo ); unsigned cipher_get_keylen( int algo ); +unsigned cipher_get_blocksize( int algo ); CIPHER_HANDLE cipher_open( int algo, int mode, int secure ); void cipher_close( CIPHER_HANDLE c ); void cipher_setkey( CIPHER_HANDLE c, byte *key, unsigned keylen ); |