aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 03436d058..1d2677759 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -25,6 +25,10 @@
#include "cipher.h"
#include "keydb.h"
+#define DEFAULT_CIPHER_ALGO CIPHER_ALGO_BLOWFISH
+#define DEFAULT_PUBKEY_ALGO PUBKEY_ALGO_ELGAMAL
+#define DEFAULT_DIGEST_ALGO DIGEST_ALGO_RMD160
+
typedef struct {
int header_okay;
@@ -41,6 +45,7 @@ typedef struct {
#endif
/*-- misc.c --*/
+void trap_unaligned(void);
u16 checksum_u16( unsigned n );
u16 checksum( byte *p, unsigned n );
u16 checksum_mpi( MPI a );