summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/authstuff/makeSP.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-29 23:04:24 +0000
committerwollman <wollman@FreeBSD.org>1994-09-29 23:04:24 +0000
commit1cba639cb2d728cbbb3866d923f8826a01269414 (patch)
tree18dfbc130c063c415f026919cb34f9b7d2c18322 /usr.sbin/xntpd/authstuff/makeSP.c
parent2bf66335a61004f895541f2c64c7fb1508224e34 (diff)
parent96f7e86b724c797f2b44beaaf956cf14550e57df (diff)
downloadFreeBSD-src-1cba639cb2d728cbbb3866d923f8826a01269414.zip
FreeBSD-src-1cba639cb2d728cbbb3866d923f8826a01269414.tar.gz
This commit was generated by cvs2svn to compensate for changes in r3215,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.sbin/xntpd/authstuff/makeSP.c')
-rw-r--r--usr.sbin/xntpd/authstuff/makeSP.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/xntpd/authstuff/makeSP.c b/usr.sbin/xntpd/authstuff/makeSP.c
index 7bfd93e..4fcd78c 100644
--- a/usr.sbin/xntpd/authstuff/makeSP.c
+++ b/usr.sbin/xntpd/authstuff/makeSP.c
@@ -1,4 +1,4 @@
-/* makeSP.c,v 3.1 1993/07/06 01:05:02 jbj Exp
+/*
* makeSP - build combination S and P tables for quick DES computation
*/
@@ -12,7 +12,7 @@
char *progname;
int debug;
-static void selperm P((int, int, U_LONG *));
+static void selperm P((int, int, u_long *));
static void doit P((void));
/*
@@ -116,15 +116,15 @@ u_char bits[32];
/*
* selperm - run six bit data through the given selection table, then
- * through the PT table to produce a LONG output.
+ * through the PT table to produce a long output.
*/
static void
selperm(selnumber, sixbits, resp)
int selnumber;
int sixbits;
- U_LONG *resp;
+ u_long *resp;
{
- register U_LONG res;
+ register u_long res;
register int selno;
register int i;
register int ind;
@@ -162,11 +162,11 @@ static void
doit()
{
int selno;
- U_LONG result;
+ u_long result;
int sixbits;
memset((char *)bits, 0, sizeof bits);
- printf("static U_LONG SP[8][64] = {");
+ printf("static u_long SP[8][64] = {");
for (selno = 0; selno < 8; selno++) {
for (sixbits = 0; sixbits < 64; sixbits++) {
selperm(selno, sixbits, &result);
OpenPOWER on IntegriCloud