summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-03-09 22:44:06 +0100
committerWerner Koch <wk@gnupg.org>1998-03-09 22:44:06 +0100
commita6a8f1e706bd7e528262151bc04ebb9409c2eeed (patch)
tree20b5771581e695a22559d8ffe3f90862afb11e3d /include
parentremoved g10maint.c (diff)
downloadgnupg2-a6a8f1e706bd7e528262151bc04ebb9409c2eeed.tar.xz
gnupg2-a6a8f1e706bd7e528262151bc04ebb9409c2eeed.zip
partial DSA support
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog9
-rw-r--r--include/cipher.h6
-rw-r--r--include/errors.h1
-rw-r--r--include/util.h5
4 files changed, 16 insertions, 5 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index e69de29bb..b0dd2b902 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -0,0 +1,9 @@
+Mon Mar 9 12:59:55 1998 Werner Koch (wk@isil.d.shuttle.de)
+
+ * cipher.h: Included dsa.h.
+
+Tue Mar 3 15:11:21 1998 Werner Koch (wk@isil.d.shuttle.de)
+
+ * cipher.h (random.h): Add new header and move all relevalt
+ functions to this header.
+
diff --git a/include/cipher.h b/include/cipher.h
index d7a89ab46..9987fdec9 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -34,6 +34,8 @@
#endif
#include "../cipher/blowfish.h"
#include "../cipher/elgamal.h"
+#include "../cipher/dsa.h"
+#include "../cipher/random.h"
#define CIPHER_ALGO_NONE 0
@@ -78,10 +80,6 @@ int check_cipher_algo( int algo );
int check_pubkey_algo( int algo );
int check_digest_algo( int algo );
-/*-- random.c --*/
-int quick_random_gen( int onoff );
-void randomize_buffer( byte *buffer, size_t length, int level );
-byte get_random_byte( int level );
/*-- smallprime.c --*/
extern ushort small_prime_numbers[];
diff --git a/include/errors.h b/include/errors.h
index 36aff5bd6..b405d2eee 100644
--- a/include/errors.h
+++ b/include/errors.h
@@ -58,5 +58,6 @@
#define G10ERR_CLOSE_FILE 36
#define G10ERR_RENAME_FILE 37
#define G10ERR_DELETE_FILE 38
+#define G10ERR_UNEXPECTED 39
#endif /*G10_ERRORS_H*/
diff --git a/include/util.h b/include/util.h
index e083c53c9..620457860 100644
--- a/include/util.h
+++ b/include/util.h
@@ -101,10 +101,13 @@ const char *strusage( int level );
/*-- fileutil.c --*/
char *make_filename( const char *first_part, ... );
+const char *print_fname_stdin( const char *s );
+const char *print_fname_stdout( const char *s );
+
/*-- miscutil.c --*/
u32 make_timestamp(void);
-void print_string( FILE *fp, byte *p, size_t n );
+void print_string( FILE *fp, byte *p, size_t n, int delim );
int answer_is_yes( const char *s );
/*-- strgutil.c --*/