#include <mLib/bits.h>
#include "blowfish.h"
-#include "blowfish-tab.h"
#include "blkc.h"
#include "gcipher.h"
#include "paranoia.h"
/*----- Global variables --------------------------------------------------*/
-static const blowfish_ctx ikey = BLOWFISH_IKEY;
+extern const blowfish_ctx blowfish_ikey;
const octet blowfish_keysz[] = { KSZ_RANGE, BLOWFISH_KEYSZ, 1, 56, 1 };
/* --- Copy the initial value over --- */
- memcpy(k, &ikey, sizeof(ikey));
+ *k = blowfish_ikey;
/* --- Initialize the %$P$% array --- */