install-reloc: Support multi-binary installation.
[gnulib.git] / lib / des.h
index 9ada752..f4cb125 100644 (file)
--- a/lib/des.h
+++ b/lib/des.h
@@ -1,5 +1,5 @@
 /* des.h --- DES cipher implementation.
- * Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 2005, 2007, 2009-2013 Free Software Foundation, Inc.
  *
  * This file is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published
@@ -12,9 +12,7 @@
  * General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this file; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
+ * along with this file; if not, see <http://www.gnu.org/licenses/>.
  *
  */
 
@@ -84,8 +82,8 @@ gl_des_ecb_crypt (gl_des_ctx *ctx, const char * from,  char * to, int mode);
  * keys, but simply ignore them.  Does not check for weak keys. */
 extern void
 gl_3des_set2keys (gl_3des_ctx *ctx,
-                 const char * key1,
-                 const char * key2);
+                  const char * key1,
+                  const char * key2);
 
 /*
  * Fill a Triple-DES context CTX with subkeys calculated from three
@@ -94,26 +92,26 @@ gl_3des_set2keys (gl_3des_ctx *ctx,
  * keys. */
 extern void
 gl_3des_set3keys (gl_3des_ctx *ctx,
-                 const char * key1,
-                 const char * key2,
-                 const char * key3);
+                  const char * key1,
+                  const char * key2,
+                  const char * key3);
 
 /* Fill a Triple-DES context CTX with subkeys calculated from three
  * concatenated 64bit keys in KEY, with weak key checking.  Does not
  * check the parity bits of the keys, but simply ignore them. */
 extern bool
 gl_3des_makekey (gl_3des_ctx *ctx,
-                const char * key,
-                size_t keylen);
+                 const char * key,
+                 size_t keylen);
 
 /* Electronic Codebook Mode Triple-DES encryption/decryption of data
  * according to 'mode'.  Sometimes this mode is named 'EDE' mode
  * (Encryption-Decryption-Encryption). */
 extern void
 gl_3des_ecb_crypt (gl_3des_ctx *ctx,
-                  const char * from,
-                  char * to,
-                  int mode);
+                   const char * from,
+                   char * to,
+                   int mode);
 
 #define gl_3des_ecb_encrypt(ctx, from, to) gl_3des_ecb_crypt(ctx,from,to,0)
 #define gl_3des_ecb_decrypt(ctx, from, to) gl_3des_ecb_crypt(ctx,from,to,1)