aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/algorithms.h
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/algorithms.h')
-rw-r--r--cipher/algorithms.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/cipher/algorithms.h b/cipher/algorithms.h
index 8c125611c..65346fea3 100644
--- a/cipher/algorithms.h
+++ b/cipher/algorithms.h
@@ -1,5 +1,5 @@
/* algorithms.h - prototypes for algorithm functions.
- * Copyright (C) 2002 Free Software Foundation, Inc.
+ * Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -52,6 +52,15 @@ sha1_get_info (int algo, size_t *contextsize,
);
const char *
+sha224_get_info (int algo, size_t *contextsize,
+ byte **r_asnoid, int *r_asnlen, int *r_mdlen,
+ void (**r_init)( void *c ),
+ void (**r_write)( void *c, byte *buf, size_t nbytes ),
+ void (**r_final)( void *c ),
+ byte *(**r_read)( void *c )
+ );
+
+const char *
sha256_get_info (int algo, size_t *contextsize,
byte **r_asnoid, int *r_asnlen, int *r_mdlen,
void (**r_init)( void *c ),