Performance improvement: read keys in as 32-bit words and deal them out
[u/mdw/catacomb] / skipjack.h
index 9a0b3ca..0740a69 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: skipjack.h,v 1.1 2000/07/15 15:39:33 mdw Exp $
+ * $Id: skipjack.h,v 1.2 2000/08/01 00:28:34 mdw Exp $
  *
  * The Skipjack block cipher
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: skipjack.h,v $
+ * Revision 1.2  2000/08/01 00:28:34  mdw
+ * Performance improvement: read keys in as 32-bit words and deal them out
+ * byte-by-byte.
+ *
  * Revision 1.1  2000/07/15 15:39:33  mdw
  * The NSA's Skipjack block cipher.
  *
@@ -75,7 +79,7 @@ extern const octet skipjack_keysz[];
 /*----- Data structures ---------------------------------------------------*/
 
 typedef struct skipjack_ctx {
-  octet k[10];
+  uint32 ka, kb, kc, kd, ke;
 } skipjack_ctx;
 
 /*----- Functions provided ------------------------------------------------*/