/* -*-c-*-
*
- * $Id: des-mktab.c,v 1.3 2000/06/17 10:52:14 mdw Exp $
+ * $Id: des-mktab.c,v 1.4 2000/10/08 12:12:23 mdw Exp $
*
* Build combined S-P tables for DES
*
/*----- Revision history --------------------------------------------------*
*
* $Log: des-mktab.c,v $
+ * Revision 1.4 2000/10/08 12:12:23 mdw
+ * Improve @const@-correctness.
+ *
* Revision 1.3 2000/06/17 10:52:14 mdw
* Change name for S-box header file.
*
/* --- S boxes --- */
-static char s[8][4][16] = {
+static const char s[8][4][16] = {
/* --- S1 --- */
* unique.
*/
-static int unique(char *t, int base, int sz, const char *name, ...)
+static int unique(const char *t, int base, int sz, const char *name, ...)
{
char u[32];
char nbuf[128];