summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authortodd <>2001-01-04 21:45:31 +0000
committertodd <>2001-01-04 21:45:31 +0000
commit0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86 (patch)
tree6eef3a919375cbf2ba0d402f2d93da5380a0ce42 /src/lib/libc/crypt
parentf3315ef2b941ac47909f427a6db39ed51459e3b0 (diff)
downloadopenbsd-0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86.tar.gz
openbsd-0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86.tar.bz2
openbsd-0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86.zip
grammer/spelling
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r--src/lib/libc/crypt/bcrypt.c4
-rw-r--r--src/lib/libc/crypt/blowfish.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c
index 99338a9508..be049baa74 100644
--- a/src/lib/libc/crypt/bcrypt.c
+++ b/src/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bcrypt.c,v 1.13 2000/08/02 15:09:41 provos Exp $ */ 1/* $OpenBSD: bcrypt.c,v 1.14 2001/01/04 21:45:30 todd Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -237,7 +237,7 @@ bcrypt(key, salt)
237 /* Out of sync with passwd entry */ 237 /* Out of sync with passwd entry */
238 return error; 238 return error;
239 239
240 /* Computer power doesnt increase linear, 2^x should be fine */ 240 /* Computer power doesn't increase linear, 2^x should be fine */
241 if ((rounds = (u_int32_t) 1 << (logr = atoi(salt))) < BCRYPT_MINROUNDS) 241 if ((rounds = (u_int32_t) 1 << (logr = atoi(salt))) < BCRYPT_MINROUNDS)
242 return error; 242 return error;
243 243
diff --git a/src/lib/libc/crypt/blowfish.c b/src/lib/libc/crypt/blowfish.c
index 846cee0e8a..695fc00a6a 100644
--- a/src/lib/libc/crypt/blowfish.c
+++ b/src/lib/libc/crypt/blowfish.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: blowfish.c,v 1.14 1999/12/28 13:09:13 provos Exp $ */ 1/* $OpenBSD: blowfish.c,v 1.15 2001/01/04 21:45:30 todd Exp $ */
2/* 2/*
3 * Blowfish block cipher for OpenBSD 3 * Blowfish block cipher for OpenBSD
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -540,7 +540,7 @@ blf_key(c, k, len)
540 u_int16_t len; 540 u_int16_t len;
541#endif 541#endif
542{ 542{
543 /* Initalize S-boxes and subkeys with Pi */ 543 /* Initialize S-boxes and subkeys with Pi */
544 Blowfish_initstate(c); 544 Blowfish_initstate(c);
545 545
546 /* Transform S-boxes and subkeys with key */ 546 /* Transform S-boxes and subkeys with key */