diff options
author | David Shaw <[email protected]> | 2006-04-20 02:05:32 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2006-04-20 02:05:32 +0000 |
commit | f0902a6aef4055030a8487dc21745e4e9cc93e53 (patch) | |
tree | dedcdbeb9f77beb985c9f0882bc4fb97ee526d0f /cipher/algorithms.h | |
parent | * keyedit.c (menu_backsign): Give some more verbose errors when we (diff) | |
download | gnupg-f0902a6aef4055030a8487dc21745e4e9cc93e53.tar.gz gnupg-f0902a6aef4055030a8487dc21745e4e9cc93e53.zip |
Add SHA-224 support
Diffstat (limited to '')
-rw-r--r-- | cipher/algorithms.h | 11 |
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 ), |