mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner Koch
This commit is contained in:
parent
a16e15282a
commit
9a4f506a18
60 changed files with 2006 additions and 1340 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Feb 10 17:15:39 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* cipher.h (CIPHER_ALGO_TWOFISH): Chnaged ID to 10 and renamed
|
||||
the old experimenatl algorithm to xx_OLD.
|
||||
|
||||
Thu Jan 7 18:00:58 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* cipher.h (MD_BUFFER_SIZE): Removed.
|
||||
|
|
|
@ -33,9 +33,10 @@
|
|||
#define CIPHER_ALGO_BLOWFISH 4 /* blowfish 128 bit key */
|
||||
#define CIPHER_ALGO_SAFER_SK128 5
|
||||
#define CIPHER_ALGO_DES_SK 6
|
||||
#define CIPHER_ALGO_TWOFISH 10 /* twofish 256 bit */
|
||||
#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_TWOFISH_OLD 102 /* experimental: twofish 128 bit */
|
||||
#define CIPHER_ALGO_DUMMY 110 /* no encryption at all */
|
||||
|
||||
#define PUBKEY_ALGO_RSA 1
|
||||
|
@ -63,11 +64,9 @@ typedef struct {
|
|||
byte key[24]; /* this is the largest used keylen (3des) */
|
||||
} DEK;
|
||||
|
||||
struct cipher_handle_s;
|
||||
typedef struct cipher_handle_s *CIPHER_HANDLE;
|
||||
|
||||
#ifndef DEFINES_CIPHER_HANDLE
|
||||
struct cipher_handle_s { char does_not_matter[1]; };
|
||||
#endif
|
||||
|
||||
#define CIPHER_MODE_ECB 1
|
||||
#define CIPHER_MODE_CFB 2
|
||||
|
@ -75,6 +74,8 @@ struct cipher_handle_s { char does_not_matter[1]; };
|
|||
#define CIPHER_MODE_AUTO_CFB 4
|
||||
#define CIPHER_MODE_DUMMY 5 /* used with algo DUMMY for no encryption */
|
||||
|
||||
struct md_digest_list_s;
|
||||
|
||||
typedef struct {
|
||||
int secure;
|
||||
FILE *debug;
|
||||
|
@ -85,12 +86,6 @@ typedef struct {
|
|||
} *MD_HANDLE;
|
||||
|
||||
|
||||
#ifndef DEFINES_MD_HANDLE /* not really the handle but the algorithm list */
|
||||
struct md_digest_list_s { char does_not_matter[1]; };
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
int g10c_debug_mode;
|
||||
int g10_opt_verbose;
|
||||
|
||||
|
|
|
@ -127,10 +127,12 @@ const char *strusage( int level );
|
|||
|
||||
|
||||
/*-- dotlock.c --*/
|
||||
const char *make_dotlock( const char *file_to_lock, long timeout );
|
||||
int release_dotlock( const char *lockfile );
|
||||
|
||||
struct dotlock_handle;
|
||||
typedef struct dotlock_handle *DOTLOCK;
|
||||
|
||||
DOTLOCK create_dotlock( const char *file_to_lock );
|
||||
int make_dotlock( DOTLOCK h, long timeout );
|
||||
int release_dotlock( DOTLOCK h );
|
||||
|
||||
|
||||
/*-- fileutil.c --*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue