X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/fe371977a223059f0b28e6edae1458d6c1c6f3a2..4e66da02f19648ee1be862e67ba1d1fc5549fb7f:/skipjack.c diff --git a/skipjack.c b/skipjack.c index 98bb48f..f0a3f23 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.4 2004/04/02 01:03:49 mdw Exp $ * * The Skipjack block cipher * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: skipjack.c,v $ + * Revision 1.4 2004/04/02 01:03:49 mdw + * Miscellaneous constification. + * * 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. @@ -57,7 +60,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 ---------------------------------------------------------*/