From f3a2b348daf9fa6063c38d2d69563f732a2f80e7 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Tue, 30 May 1995 06:12:45 +0000 Subject: Remove trailing whitespace. --- secure/lib/libcrypt/crypt-des.c | 6 +++--- secure/lib/libcrypt/crypt.c | 6 +++--- secure/lib/libcrypt/test/Makefile | 8 ++++---- secure/lib/libcrypt/test/cert.c | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'secure/lib/libcrypt') 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 . @@ -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 . @@ -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 @@ -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); } -- cgit v1.1