aboutsummaryrefslogtreecommitdiffstats
path: root/include/cipher.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-06-26 10:23:06 +0000
committerWerner Koch <[email protected]>1999-06-26 10:23:06 +0000
commit080c9ca49f4d0b0aa07e00e1eb84bc39bf4c8562 (patch)
tree7d387cb3da17d9b3e25aef7f85acbad21f75be7f /include/cipher.h
parentSee ChangeLog: Wed Jun 16 20:16:21 CEST 1999 Werner Koch (diff)
downloadgnupg-080c9ca49f4d0b0aa07e00e1eb84bc39bf4c8562.tar.gz
gnupg-080c9ca49f4d0b0aa07e00e1eb84bc39bf4c8562.zip
See ChangeLog: Sat Jun 26 12:15:59 CEST 1999 Werner Koch
Diffstat (limited to 'include/cipher.h')
-rw-r--r--include/cipher.h8
1 files changed, 6 insertions, 2 deletions
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;