/* -*-c-*-
*
- * $Id: blowfish.h,v 1.1 1999/09/03 08:41:11 mdw Exp $
+ * $Id: blowfish.h,v 1.3 2000/06/17 10:48:13 mdw Exp $
*
* The Blowfish block cipher
*
/*----- Revision history --------------------------------------------------*
*
* $Log: blowfish.h,v $
+ * Revision 1.3 2000/06/17 10:48:13 mdw
+ * Support new key size interface.
+ *
+ * Revision 1.2 1999/12/10 23:29:48 mdw
+ * Change header file guard names.
+ *
* Revision 1.1 1999/09/03 08:41:11 mdw
* Initial import.
*
* has a particularly heavyweight key schedule.
*/
-#ifndef BLOWFISH_H
-#define BLOWFISH_H
+#ifndef CATACOMB_BLOWFISH_H
+#define CATACOMB_BLOWFISH_H
#ifdef __cplusplus
extern "C" {
/*----- Magical numbers ---------------------------------------------------*/
#define BLOWFISH_BLKSZ 8
-#define BLOWFISH_KEYSZ 0
+#define BLOWFISH_KEYSZ 32
#define BLOWFISH_CLASS (N, B, 64)
+extern const octet blowfish_keysz[];
+
/*----- Data structures ---------------------------------------------------*/
typedef struct blowfish_ctx {