X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/6a0a5bdca4ee09be70284f0f2c022c9f8faf45a9..6d56743beed37f62273209341fa812bcd6aa220f:/skipjack.h diff --git a/skipjack.h b/skipjack.h index 9a0b3ca..0740a69 100644 --- a/skipjack.h +++ b/skipjack.h @@ -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 * @@ -30,6 +30,10 @@ /*----- 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 ------------------------------------------------*/