From f0902a6aef4055030a8487dc21745e4e9cc93e53 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 20 Apr 2006 02:05:32 +0000 Subject: Add SHA-224 support --- cipher/algorithms.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'cipher/algorithms.h') 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. * @@ -51,6 +51,15 @@ sha1_get_info (int algo, size_t *contextsize, byte *(**r_read)( void *c ) ); +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, -- cgit