aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/cipher.h8
2 files changed, 11 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 930b954c5..5f4cb82b0 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jun 26 12:15:59 CEST 1999 Werner Koch <[email protected]>
+
+
+ * cipher.h (MD_HANDLE): Assigned a structure name.
+
Fri Apr 9 12:26:25 CEST 1999 Werner Koch <[email protected]>
* cipher.h (BLOWFISH160): Removed.
diff --git a/include/cipher.h b/include/cipher.h
index 19b29771a..a420f4f6b 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -72,17 +72,21 @@ typedef struct cipher_handle_s *CIPHER_HANDLE;
#define CIPHER_MODE_PHILS_CFB 3
#define CIPHER_MODE_AUTO_CFB 4
#define CIPHER_MODE_DUMMY 5 /* used with algo DUMMY for no encryption */
+#define CIPHER_MODE_CBC 6
struct md_digest_list_s;
-typedef struct {
+struct gcry_md_context {
int secure;
FILE *debug;
+ int finalized;
struct md_digest_list_s *list;
int bufcount;
int bufsize;
byte buffer[1];
-} *MD_HANDLE;
+};
+
+typedef struct gcry_md_context *MD_HANDLE;
int g10c_debug_mode;