summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcipher
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/libcipher
parentf05428e4cd63dde97bac14b84dd146a5c00455e3 (diff)
downloadFreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.zip
FreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'secure/lib/libcipher')
-rw-r--r--secure/lib/libcipher/crypt.c6
-rw-r--r--secure/lib/libcipher/test/cert.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/secure/lib/libcipher/crypt.c b/secure/lib/libcipher/crypt.c
index f6c3126..cbdefde 100644
--- a/secure/lib/libcipher/crypt.c
+++ b/secure/lib/libcipher/crypt.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: crypt.c,v 1.1.1.1 1994/09/07 21:18:07 csgr Exp $
+ * $Id: crypt.c,v 1.2 1994/09/07 21:48:46 csgr Exp $
*
* This is an original implementation of the DES and the crypt(3) interfaces
* by David Burren <davidb@werj.com.au>.
@@ -316,7 +316,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;
@@ -414,7 +414,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/libcipher/test/cert.c b/secure/lib/libcipher/test/cert.c
index 520f9bd..549c230 100644
--- a/secure/lib/libcipher/test/cert.c
+++ b/secure/lib/libcipher/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 1994/09/07 08:55:26 g89r4222 Exp $
+ * $Id: cert.c,v 1.1.1.1 1994/09/07 21:18:08 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