Makefile: Link tests against stuff like -lm.
[u/mdw/catacomb] / safer.h
diff --git a/safer.h b/safer.h
index f4d5516..198bc8e 100644 (file)
--- a/safer.h
+++ b/safer.h
@@ -1,13 +1,13 @@
 /* -*-c-*-
  *
- * $Id: safer.h,v 1.1 2001/04/29 17:37:35 mdw Exp $
+ * $Id: safer.h,v 1.3 2004/04/08 01:36:15 mdw Exp $
  *
  * The SAFER block cipher
  *
  * (c) 2001 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Catacomb.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * Catacomb is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with Catacomb; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
+/*----- Notes on the SAFER block cipher -----------------------------------*
  *
- * $Log: safer.h,v $
- * Revision 1.1  2001/04/29 17:37:35  mdw
- * Added SAFER block cipher.
+ * SAFER was designed by James Massey (who also worked on IDEA) for Cylink.
+ * It's free -- patents or other silliness.  The original key schedule had
+ * some weaknesses, and a new one (the SK version) was added.  SAFER has a
+ * variable number of rounds.  The standard interface uses the recommended
+ * number for the given key schedule algorithm and key size.
  *
+ * SAFER got a bad press in Schneier's book `Applied Cryptography'.  I think
+ * this is undeserved.  SAFER is a well-designed cipher which mostly looks
+ * pretty solid.
  */
 
 #ifndef CATACOMB_SAFER_H