Pollard's rho algorithm for computing discrete logs.
[u/mdw/catacomb] / des3.h
diff --git a/des3.h b/des3.h
index ce57ac9..0a276f3 100644 (file)
--- a/des3.h
+++ b/des3.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: des3.h,v 1.1 1999/09/03 08:41:11 mdw Exp $
+ * $Id: des3.h,v 1.3 2000/06/17 10:52:32 mdw Exp $
  *
  * Implementation of double- and triple-DES
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: des3.h,v $
+ * Revision 1.3  2000/06/17 10:52:32  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.
  *
  */
 
-#ifndef DES3_H
-#define DES3_H
+#ifndef CATACOMB_DES3_H
+#define CATACOMB_DES3_H
 
 #ifdef __cplusplus
   extern "C" {
@@ -57,7 +63,7 @@
 
 #include <mLib/bits.h>
 
-#ifndef DES_H
+#ifndef CATACOMB_DES_H
 #  include "des.h"
 #endif
 
@@ -67,6 +73,8 @@
 #define DES3_KEYSZ 21
 #define DES3_CLASS (N, B, 64)
 
+extern const octet des3_keysz[];
+
 /*----- Data structures ---------------------------------------------------*/
 
 typedef struct des3_ctx {