summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypt
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:12:45 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:12:45 +0000
commitf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (patch)
tree4d38911cf1e5e1ef56a662eddcbe2f706b2e6973 /secure/lib/libcrypt
parentf05428e4cd63dde97bac14b84dd146a5c00455e3 (diff)
downloadFreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.zip
FreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'secure/lib/libcrypt')
-rw-r--r--secure/lib/libcrypt/crypt-des.c6
-rw-r--r--secure/lib/libcrypt/crypt.c6
-rw-r--r--secure/lib/libcrypt/test/Makefile8
-rw-r--r--secure/lib/libcrypt/test/cert.c6
4 files changed, 13 insertions, 13 deletions
diff --git a/secure/lib/libcrypt/crypt-des.c b/secure/lib/libcrypt/crypt-des.c
index 18a45669..59f502a 100644
--- a/secure/lib/libcrypt/crypt-des.c
+++ b/secure/lib/libcrypt/crypt-des.c
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: crypt.c,v 1.4 1994/09/07 07:47:08 pst Exp $
+ * $Id: crypt.c,v 1.5 1994/09/19 19:26:39 csgr Exp $
*
* This is an original implementation of the DES and the crypt(3) interfaces
* by David Burren <davidb@werj.com.au>.
@@ -324,7 +324,7 @@ des_init()
/*
* Invert the P-box permutation, and convert into OR-masks for
- * handling the output of the S-box arrays setup above.
+ * handling the output of the S-box arrays setup above.
*/
for (i = 0; i < 32; i++)
un_pbox[pbox[i] - 1] = i;
@@ -420,7 +420,7 @@ des_setkey(const char *key)
t0 = (k0 << shifts) | (k0 >> (28 - shifts));
t1 = (k1 << shifts) | (k1 >> (28 - shifts));
- de_keysl[15 - round] =
+ de_keysl[15 - round] =
en_keysl[round] = comp_maskl[0][(t0 >> 21) & 0x7f]
| comp_maskl[1][(t0 >> 14) & 0x7f]
| comp_maskl[2][(t0 >> 7) & 0x7f]
diff --git a/secure/lib/libcrypt/crypt.c b/secure/lib/libcrypt/crypt.c
index 18a45669..59f502a 100644
--- a/secure/lib/libcrypt/crypt.c
+++ b/secure/lib/libcrypt/crypt.c
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: crypt.c,v 1.4 1994/09/07 07:47:08 pst Exp $
+ * $Id: crypt.c,v 1.5 1994/09/19 19:26:39 csgr Exp $
*
* This is an original implementation of the DES and the crypt(3) interfaces
* by David Burren <davidb@werj.com.au>.
@@ -324,7 +324,7 @@ des_init()
/*
* Invert the P-box permutation, and convert into OR-masks for
- * handling the output of the S-box arrays setup above.
+ * handling the output of the S-box arrays setup above.
*/
for (i = 0; i < 32; i++)
un_pbox[pbox[i] - 1] = i;
@@ -420,7 +420,7 @@ des_setkey(const char *key)
t0 = (k0 << shifts) | (k0 >> (28 - shifts));
t1 = (k1 << shifts) | (k1 >> (28 - shifts));
- de_keysl[15 - round] =
+ de_keysl[15 - round] =
en_keysl[round] = comp_maskl[0][(t0 >> 21) & 0x7f]
| comp_maskl[1][(t0 >> 14) & 0x7f]
| comp_maskl[2][(t0 >> 7) & 0x7f]
diff --git a/secure/lib/libcrypt/test/Makefile b/secure/lib/libcrypt/test/Makefile
index 4f92a48..b65b09f 100644
--- a/secure/lib/libcrypt/test/Makefile
+++ b/secure/lib/libcrypt/test/Makefile
@@ -2,19 +2,19 @@
# Hacked Makefile to compile and run the DES-certification program,
# but not install anything.
#
-# $Id: Makefile,v 1.2 1994/08/08 17:29:02 csgr Exp $
+# $Id: Makefile,v 1.3 1994/08/12 21:55:04 csgr Exp $
#
.if exists (../obj)
OBJDIR = obj
.else
-OBJDIR =
+OBJDIR =
.endif
LIBCRYPT= $(.CURDIR)/../$(OBJDIR)/libdescrypt.a
#CFLAGS+= -DHAVE_CRYPT16
-TARGETS=cert speedcrypt
+TARGETS=cert speedcrypt
all: ${TARGETS}
@@ -23,7 +23,7 @@ test: all testcrypt testspeed
testcrypt: cert
@./cert -c
-testspeed: cryptspeed
+testspeed: cryptspeed
cryptspeed: speedcrypt
@./speedcrypt 30 1
diff --git a/secure/lib/libcrypt/test/cert.c b/secure/lib/libcrypt/test/cert.c
index 4a9c088..b2e3ae5 100644
--- a/secure/lib/libcrypt/test/cert.c
+++ b/secure/lib/libcrypt/test/cert.c
@@ -3,7 +3,7 @@
* shipped with UFC-crypt which is apparently derived from one distributed
* with Phil Karns PD DES package.
*
- * $Id: cert.c,v 1.1.1.1 1994/04/04 14:57:19 g89r4222 Exp $
+ * $Id: cert.c,v 1.2 1994/08/08 17:29:03 csgr Exp $
*/
#include <stdio.h>
@@ -40,7 +40,7 @@ static struct crypt_test crypt16_tests[] = {
};
-void good_bye()
+void good_bye()
{
if(totfails == 0) {
printf(" Passed validation\n");
@@ -59,7 +59,7 @@ char *cp;
for(i = 0; i < 8; i++){
t = 0;
- for(j = 0; j < 8; j++)
+ for(j = 0; j < 8; j++)
t = t << 1 | *cp++;
printf("%02x", t);
}
OpenPOWER on IntegriCloud