aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-04-07 18:16:10 +0000
committerWerner Koch <[email protected]>1998-04-07 18:16:10 +0000
commit86f261dbc50544d73e4b9ae71fcbc2c6df5b9612 (patch)
treed3ba75484a73e1fe891f7ff862ab1f3722cb126c /g10/main.h
parentcast5 does now work (diff)
downloadgnupg-86f261dbc50544d73e4b9ae71fcbc2c6df5b9612.tar.gz
gnupg-86f261dbc50544d73e4b9ae71fcbc2c6df5b9612.zip
cipher reorganisiert
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index c162fd9cd..82f2373d7 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -21,6 +21,7 @@
#define G10_MAIN_H
#include "types.h"
#include "iobuf.h"
+#include "mpi.h"
#include "cipher.h"
#include "keydb.h"
@@ -39,6 +40,11 @@ typedef struct {
void g10_exit(int rc);
#endif
+/*-- misc.c --*/
+u16 checksum_u16( unsigned n );
+u16 checksum( byte *p, unsigned n );
+u16 checksum_mpi( MPI a );
+
/*-- encode.c --*/
int encode_symmetric( const char *filename );
int encode_store( const char *filename );