diff options
| author | Werner Koch <[email protected]> | 1997-11-24 22:24:04 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1997-11-24 22:24:04 +0000 |
| commit | 46900fbd437a134bd16e5030182fb3a219cd370e (patch) | |
| tree | f13063a7c4896b189c7a3d09791d5464241174c7 /g10/main.h | |
| parent | IDEA removed, signing works (diff) | |
| download | gnupg-46900fbd437a134bd16e5030182fb3a219cd370e.tar.gz gnupg-46900fbd437a134bd16e5030182fb3a219cd370e.zip | |
ElGamal funktioniert und ist default
Diffstat (limited to 'g10/main.h')
| -rw-r--r-- | g10/main.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index 9d0f07a89..708563427 100644 --- a/g10/main.h +++ b/g10/main.h @@ -21,6 +21,11 @@ #define G10_MAIN_H #include "types.h" #include "iobuf.h" +#include "cipher.h" + +#define DEFAULT_CIPHER_ALGO CIPHER_ALGO_BLOWFISH +#define DEFAULT_PUBKEY_ALGO PUBKEY_ALGO_ELGAMAL +#define DEFAULT_DIGEST_ALGO DIGEST_ALGO_RMD160 /*-- encode.c --*/ int encode_symmetric( const char *filename ); @@ -37,4 +42,11 @@ void generate_keypair(void); int overwrite_filep( const char *fname ); IOBUF open_outfile( const char *fname ); +/*-- seskey.c --*/ +void make_session_key( DEK *dek ); +MPI encode_session_key( DEK *dek, unsigned nbits ); +MPI encode_rmd160_value( byte *md, unsigned len, unsigned nbits ); +MPI encode_md5_value( byte *md, unsigned len, unsigned nbits ); + + #endif /*G10_MAIN_H*/ |
