summaryrefslogtreecommitdiff
path: root/include/rpc/des_crypt.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:21:15 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:21:15 +0000
commite83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (patch)
tree85ce10f2fc87fba69e07a13d7036d074e195dea7 /include/rpc/des_crypt.h
parent65eee187317b93773d2409d0e7e2814d34c6a0e1 (diff)
Rev all the header files to sync things with glibc 2.2.4
Diffstat (limited to 'include/rpc/des_crypt.h')
-rw-r--r--include/rpc/des_crypt.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/rpc/des_crypt.h b/include/rpc/des_crypt.h
index e20cc3824..6a65887d3 100644
--- a/include/rpc/des_crypt.h
+++ b/include/rpc/des_crypt.h
@@ -11,23 +11,23 @@
* may copy or modify Sun RPC without charge, but are not authorized
* to license or distribute it to anyone else except as part of a product or
* program developed by the user.
- *
+ *
* SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
* WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
* PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
- *
+ *
* Sun RPC is provided with no support and without any obligation on the
* part of Sun Microsystems, Inc. to assist in its use, correction,
* modification or enhancement.
- *
+ *
* SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
* INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
* OR ANY PART THEREOF.
- *
+ *
* In no event will Sun Microsystems, Inc. be liable for any lost revenue
* or profits or other special, indirect and consequential damages, even if
* Sun has been advised of the possibility of such damages.
- *
+ *
* Sun Microsystems, Inc.
* 2550 Garcia Avenue
* Mountain View, California 94043
@@ -47,7 +47,7 @@ __BEGIN_DECLS
#define DES_DEVMASK (1 << 1)
-#define DES_HW (0*DES_DEVMASK) /* Use hardware device */
+#define DES_HW (0*DES_DEVMASK) /* Use hardware device */
#define DES_SW (1*DES_DEVMASK) /* Use software device */
@@ -77,20 +77,20 @@ __BEGIN_DECLS
/*
* Cipher Block Chaining mode
*/
-extern int cbc_crypt __P ((char *__key, char *__buf, unsigned __len,
- unsigned __mode, char *__ivec));
+extern int cbc_crypt (char *__key, char *__buf, unsigned __len,
+ unsigned __mode, char *__ivec) __THROW;
/*
* Electronic Code Book mode
*/
-extern int ecb_crypt __P ((char *__key, char *__buf, unsigned __len,
- unsigned __mode));
+extern int ecb_crypt (char *__key, char *__buf, unsigned __len,
+ unsigned __mode) __THROW;
-/*
+/*
* Set des parity for a key.
* DES parity is odd and in the low bit of each byte
*/
-extern void des_setparity __P ((char *__key));
+extern void des_setparity (char *__key) __THROW;
__END_DECLS