1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Add SHA-224 support

This commit is contained in:
David Shaw 2006-04-20 02:05:32 +00:00
parent 36ce455f15
commit f0902a6aef
6 changed files with 90 additions and 7 deletions

View file

@ -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,