/* -*-c-*-
*
- * $Id: blowfish.h,v 1.3 1997/08/07 09:43:20 mdw Exp $
+ * $Id: blowfish.h,v 1.4 1997/09/26 09:14:57 mdw Exp $
*
* Blowfish encryption routines
*
/*----- Revision history --------------------------------------------------*
*
* $Log: blowfish.h,v $
+ * Revision 1.4 1997/09/26 09:14:57 mdw
+ * Merged blowfish branch into trunk.
+ *
+ * Revision 1.3.2.1 1997/09/26 09:07:59 mdw
+ * Use the Blowfish encryption algorithm instead of IDEA. This is partly
+ * because I prefer Blowfish (without any particularly strong evidence) but
+ * mainly because IDEA is patented and Blowfish isn't.
+ *
* Revision 1.3 1997/08/07 09:43:20 mdw
* Fix address of the FSF.
*
extern "C" {
#endif
+/*----- Required headers --------------------------------------------------*/
+
+#ifndef CONFIG_H
+# include "config.h"
+#endif
+
/*----- Type definitions --------------------------------------------------*/
/* --- A blowfish expanded key --- */
uint_32 s3[256];
} blowfish_key;
+/* --- Size of a blowfish block --- */
+
+#define BLOWFISH_BLKSIZE (8u)
+
/*----- Functions provided ------------------------------------------------*/
/* --- @blowfish_encrypt@ --- *