Pollard's rho algorithm for computing discrete logs.
[u/mdw/catacomb] / idea.h
diff --git a/idea.h b/idea.h
index 5d26a57..326925f 100644 (file)
--- a/idea.h
+++ b/idea.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: idea.h,v 1.1 1999/09/03 08:41:12 mdw Exp $
+ * $Id: idea.h,v 1.3 2000/06/17 11:24:08 mdw Exp $
  *
  * Implementation of the IDEA cipher
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: idea.h,v $
+ * Revision 1.3  2000/06/17 11:24:08  mdw
+ * 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:12  mdw
  * Initial import.
  *
@@ -51,8 +57,8 @@
  * domain.
  */
 
-#ifndef IDEA_H
-#define IDEA_H
+#ifndef CATACOMB_IDEA_H
+#define CATACOMB_IDEA_H
 
 #ifdef __cplusplus
   extern "C" {
@@ -70,6 +76,8 @@
 #define IDEA_KEYSZ 16
 #define IDEA_CLASS (N, B, 64)
 
+extern const octet idea_keysz[];
+
 /*----- Data structures ---------------------------------------------------*/
 
 typedef struct idea_ctx {