X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/fe371977a223059f0b28e6edae1458d6c1c6f3a2..b817bfc642225b8c3c0b6a7e42d1fb949b61a606:/skipjack.c diff --git a/skipjack.c b/skipjack.c index 98bb48f..a4c65b5 100644 --- a/skipjack.c +++ b/skipjack.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: skipjack.c,v 1.3 2000/08/01 00:28:34 mdw Exp $ + * $Id: skipjack.c,v 1.5 2004/04/08 01:36:15 mdw Exp $ * * The Skipjack block cipher * @@ -27,21 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: skipjack.c,v $ - * Revision 1.3 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.2 2000/07/15 20:48:45 mdw - * Remove some useless tests in the G function. - * - * Revision 1.1 2000/07/15 15:39:33 mdw - * The NSA's Skipjack block cipher. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -57,7 +42,7 @@ const octet skipjack_keysz[] = { KSZ_SET, 10, 0 }; /*----- The Skipjack S-box ------------------------------------------------*/ -static octet f[256] = SKIPJACK_S; +static const octet f[256] = SKIPJACK_S; /*----- Main code ---------------------------------------------------------*/