Deleted Added
full compact
des_crypt.c (50476) des_crypt.c (90271)
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *

--- 23 unchanged lines hidden (view full) ---

32 */
33
34#include <sys/types.h>
35#include <rpc/des_crypt.h>
36#include <rpc/des.h>
37
38#ifndef lint
39/* from: static char sccsid[] = "@(#)des_crypt.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; */
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *

--- 23 unchanged lines hidden (view full) ---

32 */
33
34#include <sys/types.h>
35#include <rpc/des_crypt.h>
36#include <rpc/des.h>
37
38#ifndef lint
39/* from: static char sccsid[] = "@(#)des_crypt.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; */
40static const char rcsid[] = "$FreeBSD: head/lib/libc/rpc/des_crypt.c 50476 1999-08-28 00:22:10Z peter $";
40static const char rcsid[] = "$FreeBSD: head/lib/libc/rpc/des_crypt.c 90271 2002-02-05 23:43:43Z alfred $";
41#endif
42
43static int common_crypt __P(( char *, char *, register unsigned, unsigned, struct desparams * ));
44int (*__des_crypt_LOCAL)() = 0;
41#endif
42
43static int common_crypt __P(( char *, char *, register unsigned, unsigned, struct desparams * ));
44int (*__des_crypt_LOCAL)() = 0;
45extern _des_crypt_call __P(( char *, int, struct desparams * ));
45extern int _des_crypt_call __P((char *, int, struct desparams *));
46/*
47 * Copy 8 bytes
48 */
49#define COPY8(src, dst) { \
50 register char *a = (char *) dst; \
51 register char *b = (char *) src; \
52 *a++ = *b++; *a++ = *b++; *a++ = *b++; *a++ = *b++; \
53 *a++ = *b++; *a++ = *b++; *a++ = *b++; *a++ = *b++; \

--- 100 unchanged lines hidden ---
46/*
47 * Copy 8 bytes
48 */
49#define COPY8(src, dst) { \
50 register char *a = (char *) dst; \
51 register char *b = (char *) src; \
52 *a++ = *b++; *a++ = *b++; *a++ = *b++; *a++ = *b++; \
53 *a++ = *b++; *a++ = *b++; *a++ = *b++; *a++ = *b++; \

--- 100 unchanged lines hidden ---