Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/opencrypto fix typos in asymmetry, asymmetric(al), symme...



details:   https://anonhg.NetBSD.org/src/rev/3b7cf6b26a0e
branches:  trunk
changeset: 1022851:3b7cf6b26a0e
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Aug 09 19:57:57 2021 +0000

description:
fix typos in asymmetry, asymmetric(al), symmetrical.

diffstat:

 crypto/dist/ipsec-tools/src/racoon/algorithm.c |  4 ++--
 sys/arch/hpcmips/stand/lcboot/start.S          |  6 +++---
 sys/compat/linux/arch/i386/linux_machdep.c     |  6 +++---
 sys/kern/sched_4bsd.c                          |  6 +++---
 sys/lib/libkern/arch/hppa/bcopy.S              |  8 ++++----
 sys/net/if_types.h                             |  6 +++---
 sys/netinet/tcp_input.c                        |  6 +++---
 sys/opencrypto/crypto.c                        |  8 ++++----
 sys/opencrypto/cryptodev.h                     |  8 ++++----
 9 files changed, 29 insertions(+), 29 deletions(-)

diffs (247 lines):

diff -r 47dd9c9d309a -r 3b7cf6b26a0e crypto/dist/ipsec-tools/src/racoon/algorithm.c
--- a/crypto/dist/ipsec-tools/src/racoon/algorithm.c    Mon Aug 09 19:24:32 2021 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/algorithm.c    Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: algorithm.c,v 1.9 2012/11/29 15:31:24 vanhu Exp $      */
+/*     $NetBSD: algorithm.c,v 1.10 2021/08/09 19:57:57 andvar Exp $    */
 
 /* Id: algorithm.c,v 1.15 2006/05/23 20:23:09 manubsd Exp */
 
@@ -229,7 +229,7 @@
 };
 
 /*
- * In case of asymetric modes (hybrid xauth), what's racoon mode of
+ * In case of asymmetric modes (hybrid xauth), what's racoon mode of
  * operations ; it seems that the proposal should always use the
  * initiator half (unless a server initiates a connection, which is
  * not handled, and probably not useful).
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/arch/hpcmips/stand/lcboot/start.S
--- a/sys/arch/hpcmips/stand/lcboot/start.S     Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/arch/hpcmips/stand/lcboot/start.S     Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: start.S,v 1.3 2005/12/11 12:17:34 christos Exp $ */
+/* $NetBSD: start.S,v 1.4 2021/08/09 19:57:57 andvar Exp $ */
 
 /*
  * Copyright (c) 2003 Naoto Shimazaki.
@@ -196,7 +196,7 @@
         * B1Config = 01        (16Mbit)
         * Bstreftype = 1       (all raw refresh)
         * BstRefr = 0          (not allow burst refresh)
-        * EDOAsym = 0          (asymetric)
+        * EDOAsym = 0          (asymmetric)
         * B0Config = 01        (16Mbit)
         * EDO/SDRAM = 1        (SDRAM)
         */
@@ -233,7 +233,7 @@
         * B1Config = 10        (64Mbit)
         * Bstreftype = 1       (all raw refresh)
         * BstRefr = 0          (not allow burst refresh)
-        * EDOAsym = 0          (asymetric)
+        * EDOAsym = 0          (asymmetric)
         * B0Config = 10        (64Mbit)
         * EDO/SDRAM = 1        (SDRAM)
         */
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/compat/linux/arch/i386/linux_machdep.c
--- a/sys/compat/linux/arch/i386/linux_machdep.c        Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/compat/linux/arch/i386/linux_machdep.c        Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.c,v 1.166 2019/05/19 08:46:15 maxv Exp $ */
+/*     $NetBSD: linux_machdep.c,v 1.167 2021/08/09 19:57:57 andvar Exp $       */
 
 /*-
  * Copyright (c) 1995, 2000, 2008, 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.166 2019/05/19 08:46:15 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.167 2021/08/09 19:57:57 andvar Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_user_ldt.h"
@@ -491,7 +491,7 @@
        size_t sz;
 
        /*
-        * I've checked the linux code - this function is asymetric with
+        * I've checked the linux code - this function is asymmetric with
         * linux_write_ldt, and returns raw ldt entries.
         * NB, the code I saw zerod the spare parts of the user buffer.
         */
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/kern/sched_4bsd.c
--- a/sys/kern/sched_4bsd.c     Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/kern/sched_4bsd.c     Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sched_4bsd.c,v 1.44 2020/05/23 21:24:41 ad Exp $       */
+/*     $NetBSD: sched_4bsd.c,v 1.45 2021/08/09 19:57:57 andvar Exp $   */
 
 /*
  * Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2019, 2020
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.44 2020/05/23 21:24:41 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.45 2021/08/09 19:57:57 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_lockdebug.h"
@@ -150,7 +150,7 @@
                        spc->spc_flags |= SPCF_SHOULDYIELD;
                } else if ((spc->spc_flags & SPCF_1STCLASS) == 0) {
                        /*
-                        * For SMT or assymetric systems push a little
+                        * For SMT or asymmetric systems push a little
                         * harder: if this is not a 1st class CPU, try to
                         * find a better one to run this LWP.
                         */
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/lib/libkern/arch/hppa/bcopy.S
--- a/sys/lib/libkern/arch/hppa/bcopy.S Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/lib/libkern/arch/hppa/bcopy.S Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcopy.S,v 1.16 2021/01/16 23:51:51 chs Exp $   */
+/*     $NetBSD: bcopy.S,v 1.17 2021/08/09 19:57:58 andvar Exp $        */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
 #include <machine/reg.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-RCSID("$NetBSD: bcopy.S,v 1.16 2021/01/16 23:51:51 chs Exp $")
+RCSID("$NetBSD: bcopy.S,v 1.17 2021/08/09 19:57:58 andvar Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 /*
@@ -142,7 +142,7 @@
  *
  * The shift instructions need pairs of registers with adjacent
  * words, with the register containing the word from the lowest
- * address *always* coming first.  It is this assymetry that
+ * address *always* coming first.  It is this asymmetry that
  * gives rise to this macro - depending on which direction
  * we're copying in, these ordered pairs are different.
  *
@@ -409,7 +409,7 @@
         * does no shifting.  NB: unlike the forward case,      ! \
         * this is NOT strictly an optimization.  If the        ! \
         * SAR is zero the vshds do NOT do the right thing.     ! \
-        * This is another assymetry more or less the "fault"   ! \
+        * This is another asymmetry more or less the "fault"   ! \
         * of vshd.                                             ! \
         */                                                     ! \
        addi            3, src_off, src_off                     ! \
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/net/if_types.h
--- a/sys/net/if_types.h        Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/net/if_types.h        Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_types.h,v 1.31 2020/08/26 16:03:41 riastradh Exp $  */
+/*     $NetBSD: if_types.h,v 1.32 2021/08/09 19:57:58 andvar Exp $     */
 
 /*
  * Copyright (c) 1989, 1993, 1994
@@ -248,8 +248,8 @@
 #define IFT_SIPSIG                0xcc /* SIP Signaling */
 #define IFT_DOCSCABLEUPSTREAMCHANNEL 0xcd /* CATV Upstream Channel */
 #define IFT_ECONET                0xce /* Acorn Econet */
-#define IFT_PON155                0xcf /* FSAN 155Mb Symetrical PON interface */
-#define IFT_PON622                0xd0 /* FSAN 622Mb Symetrical PON interface */
+#define IFT_PON155                0xcf /* FSAN 155Mb Symmetrical PON interface */
+#define IFT_PON622                0xd0 /* FSAN 622Mb Symmetrical PON interface */
 #define IFT_BRIDGE                0xd1 /* Transparent bridge interface */
 #define IFT_LINEGROUP             0xd2 /* Interface common to multiple lines */
 #define IFT_VOICEEMFGD            0xd3 /* voice E&M Feature Group D */
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c   Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/netinet/tcp_input.c   Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_input.c,v 1.430 2021/08/06 07:55:13 andvar Exp $   */
+/*     $NetBSD: tcp_input.c,v 1.431 2021/08/09 19:57:58 andvar Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.430 2021/08/06 07:55:13 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.431 2021/08/09 19:57:58 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -4539,7 +4539,7 @@
 
        /*
         * Send ECN SYN-ACK setup packet.
-        * Routes can be assymetric, so, even if we receive a packet
+        * Routes can be asymmetric, so, even if we receive a packet
         * with ECE and CWR set, we must not assume no one will block
         * the ECE packet we are about to send.
         */
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/opencrypto/crypto.c
--- a/sys/opencrypto/crypto.c   Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/opencrypto/crypto.c   Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crypto.c,v 1.114 2020/04/08 15:27:18 pgoyette Exp $ */
+/*     $NetBSD: crypto.c,v 1.115 2021/08/09 19:57:58 andvar Exp $ */
 /*     $FreeBSD: src/sys/opencrypto/crypto.c,v 1.4.2.5 2003/02/26 00:14:05 sam Exp $   */
 /*     $OpenBSD: crypto.c,v 1.41 2002/07/17 23:52:38 art Exp $ */
 
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.114 2020/04/08 15:27:18 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.115 2021/08/09 19:57:58 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/reboot.h>
@@ -1361,7 +1361,7 @@
 }
 
 /*
- * Add an asymetric crypto request to a queue,
+ * Add an asymmetric crypto request to a queue,
  * to be processed by the kernel thread.
  */
 int
@@ -1429,7 +1429,7 @@
 }
 
 /*
- * Dispatch an assymetric crypto request to the appropriate crypto devices.
+ * Dispatch an asymmetric crypto request to the appropriate crypto devices.
  */
 static int
 crypto_kinvoke(struct cryptkop *krp, int hint)
diff -r 47dd9c9d309a -r 3b7cf6b26a0e sys/opencrypto/cryptodev.h
--- a/sys/opencrypto/cryptodev.h        Mon Aug 09 19:24:32 2021 +0000
+++ b/sys/opencrypto/cryptodev.h        Mon Aug 09 19:57:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cryptodev.h,v 1.40 2019/11/29 07:20:03 hikaru Exp $ */
+/*     $NetBSD: cryptodev.h,v 1.41 2021/08/09 19:57:58 andvar Exp $ */
 /*     $FreeBSD: src/sys/opencrypto/cryptodev.h,v 1.2.2.6 2003/07/02 17:04:50 sam Exp $        */
 /*     $OpenBSD: cryptodev.h,v 1.33 2002/07/17 23:52:39 art Exp $      */
 
@@ -324,7 +324,7 @@
 };
 
 
-/* Assymetric key operations */
+/* Asymmetric key operations */
 #define        CRK_ALGORITM_MIN        0
 #define CRK_MOD_EXP            0
 #define CRK_MOD_EXP_CRT                1
@@ -390,8 +390,8 @@
 struct cryptostats {
        u_int32_t       cs_ops;         /* symmetric crypto ops submitted */
        u_int32_t       cs_errs;        /* symmetric crypto ops that failed */
-       u_int32_t       cs_kops;        /* asymetric/key ops submitted */
-       u_int32_t       cs_kerrs;       /* asymetric/key ops that failed */
+       u_int32_t       cs_kops;        /* asymmetric/key ops submitted */
+       u_int32_t       cs_kerrs;       /* asymmetric/key ops that failed */
        u_int32_t       cs_intrs;       /* crypto swi thread activations */
        u_int32_t       cs_rets;        /* crypto return thread activations */
        u_int32_t       cs_blocks;      /* symmetric op driver block */



Home | Main Index | Thread Index | Old Index