summaryrefslogtreecommitdiff
path: root/lib/libdes
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-11-08 19:17:31 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-11-08 19:17:31 +0000
commitf0f3a0c6fbdf3bbd095d37a8fd2e0d0c250f8a21 (patch)
treef9bafe25867d0323af89776288c80edb6b30c09c /lib/libdes
parent01ff1e7438b7bc934d05a03ca72d57c3e5484fab (diff)
typos from Jonathon Gray;
Diffstat (limited to 'lib/libdes')
-rw-r--r--lib/libdes/asm/readme2
-rw-r--r--lib/libdes/des_locl.h4
-rw-r--r--lib/libdes/des_locl.org4
-rw-r--r--lib/libdes/fcrypt.c2
-rw-r--r--lib/libdes/options.txt2
-rw-r--r--lib/libdes/qud_cksm.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/lib/libdes/asm/readme b/lib/libdes/asm/readme
index 93fc13b83f9..36c79992833 100644
--- a/lib/libdes/asm/readme
+++ b/lib/libdes/asm/readme
@@ -1,5 +1,5 @@
First up, let me say I don't like writing in assembler. It is not portable,
-dependant on the particular CPU architecture release and is generally a pig
+dependent on the particular CPU architecture release and is generally a pig
to debug and get right. Having said that, the x86 architecture is probably
the most important for speed due to number of boxes and since
it appears to be the worst architecture to get
diff --git a/lib/libdes/des_locl.h b/lib/libdes/des_locl.h
index 1bdf497a9a4..583503a7411 100644
--- a/lib/libdes/des_locl.h
+++ b/lib/libdes/des_locl.h
@@ -88,7 +88,7 @@
#endif
/* This helps C compiler generate the correct code for multiple functional
- * units. It reduces register dependancies at the expense of 2 more
+ * units. It reduces register dependencies at the expense of 2 more
* registers */
#ifndef DES_RISC1
#undef DES_RISC1
@@ -103,7 +103,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
#endif
/* Unroll the inner loop, this sometimes helps, sometimes hinders.
- * Very mucy CPU dependant */
+ * Very much CPU dependent */
#ifndef DES_UNROLL
#undef DES_UNROLL
#endif
diff --git a/lib/libdes/des_locl.org b/lib/libdes/des_locl.org
index 3853ddc8346..5c9b4715a08 100644
--- a/lib/libdes/des_locl.org
+++ b/lib/libdes/des_locl.org
@@ -88,7 +88,7 @@
#endif
/* This helps C compiler generate the correct code for multiple functional
- * units. It reduces register dependancies at the expense of 2 more
+ * units. It reduces register dependencies at the expense of 2 more
* registers */
#ifndef DES_RISC1
#undef DES_RISC1
@@ -103,7 +103,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
#endif
/* Unroll the inner loop, this sometimes helps, sometimes hinders.
- * Very mucy CPU dependant */
+ * Very much CPU dependent */
#ifndef DES_UNROLL
#undef DES_UNROLL
#endif
diff --git a/lib/libdes/fcrypt.c b/lib/libdes/fcrypt.c
index e5cf11eacec..3092fc8bd65 100644
--- a/lib/libdes/fcrypt.c
+++ b/lib/libdes/fcrypt.c
@@ -68,7 +68,7 @@
/* Modification by Jens Kupferschmidt (Cu)
* I have included directive _DES_PARA for shared memory computers.
* I have included a directive LONGCRYPT to using this routine to cipher
- * passwords with more then 8 bytes like HP-UX 10.x it used. The MAXPLEN
+ * passwords with more than 8 bytes like HP-UX 10.x it used. The MAXPLEN
* definition is the maximum of length of password and can changed. I have
* defined 24.
*/
diff --git a/lib/libdes/options.txt b/lib/libdes/options.txt
index 0830f897d2d..d88aa3088ca 100644
--- a/lib/libdes/options.txt
+++ b/lib/libdes/options.txt
@@ -1,7 +1,7 @@
Note that the UNROLL option makes the 'inner' des loop unroll all 16 rounds
instead of the default 4.
RISC1 and RISC2 are 2 alternatives for the inner loop and
-PTR means to use pointers arithmatic instead of arrays.
+PTR means to use pointers arithmetic instead of arrays.
IRIX 6.2 - R10000 195mhz - cc (-O3 -n32) - UNROLL RISC2 PTR 496,000 3968k/s
solaris 2.5.1 usparc 167mhz?? - SC4.0 - UNROLL RISC1 PTR [1] 475,400 3804k/s
diff --git a/lib/libdes/qud_cksm.c b/lib/libdes/qud_cksm.c
index db51128c9bf..ba688dbf59b 100644
--- a/lib/libdes/qud_cksm.c
+++ b/lib/libdes/qud_cksm.c
@@ -121,7 +121,7 @@ des_cblock (*seed);
/* I believe I finally have things worked out.
* The MIT library assumes that the checksum
* is one huge number and it is returned in a
- * host dependant byte order.
+ * host dependent byte order.
*/
static DES_LONG ltmp=1;
static unsigned char *c=(unsigned char *)&ltmp;