diff options
Diffstat (limited to 'g10/main.h')
-rw-r--r-- | g10/main.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h index 56fd3c9d5..0b30084e3 100644 --- a/g10/main.h +++ b/g10/main.h @@ -49,6 +49,7 @@ void trap_unaligned(void); u16 checksum_u16( unsigned n ); u16 checksum( byte *p, unsigned n ); u16 checksum_mpi( MPI a ); +u16 checksum_mpi_counted_nbits( MPI a ); /*-- encode.c --*/ int encode_symmetric( const char *filename ); @@ -85,7 +86,8 @@ IOBUF open_sigfile( const char *iname ); /*-- seskey.c --*/ void make_session_key( DEK *dek ); MPI encode_session_key( DEK *dek, unsigned nbits ); -MPI encode_md_value( MD_HANDLE md, int hash_algo, unsigned nbits ); +MPI encode_md_value( int pubkey_algo, MD_HANDLE md, + int hash_algo, unsigned nbits ); /*-- comment.c --*/ KBNODE make_comment_node( const char *s ); |