]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Added patent comment (jdassen@wi.leidenuniv.nl). Changed const to CONST.
authorJ.H.M. Dassen <jdassen@wi.leidenuniv.nl>
Mon, 14 Dec 1998 23:15:14 +0000 (00:15 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 14 Dec 1998 23:15:14 +0000 (00:15 +0100)
Rev: src/symmetric/include/idea.h:1.3

include/idea.h

index 3328f8fd642891040afd2fe5a3d007ed1de6ab1b..b19cbaebcdfdefced627e00fad291a6a1009a274 100644 (file)
@@ -2,6 +2,11 @@
  * $Id$
  */
 
+/*
+ * Please be aware that IDEA IS PATENT ENCUMBERED; see the note in idea.c.
+ *                      -------------------------
+ */
+
 #ifndef IDEA_H_INCLUDED
 #define IDEA_H_INCLUDED
 
 #include "crypto_types.h"
 
 void idea_expand(UINT16 *ctx,
-                const UINT8 *key);
+                CONST UINT8 *key);
 
 void idea_invert(UINT16 *d,
-                const UINT16 *e);
+                CONST UINT16 *e);
 
-void idea_crypt(const UINT16 *ctx,
+void idea_crypt(CONST UINT16 *ctx,
                UINT8 *dest,
-               const UINT8 *src);
+               CONST UINT8 *src);
 
 #endif /* IDEA_H_INCLUDED */