Source-Changes-HG archive

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

[src/trunk]: src/sys/crypto/camellia Fix typos in comments and add missing KE...



details:   https://anonhg.NetBSD.org/src/rev/0b76e364c385
branches:  trunk
changeset: 985669:0b76e364c385
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Sat Sep 04 00:33:09 2021 +0000

description:
Fix typos in comments and add missing KERNEL_RCSID

diffstat:

 sys/crypto/camellia/camellia-api.c |   3 ++-
 sys/crypto/camellia/camellia.c     |  10 ++++++----
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (62 lines):

diff -r 770245bfb1c4 -r 0b76e364c385 sys/crypto/camellia/camellia-api.c
--- a/sys/crypto/camellia/camellia-api.c        Fri Sep 03 22:48:49 2021 +0000
+++ b/sys/crypto/camellia/camellia-api.c        Sat Sep 04 00:33:09 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: camellia-api.c,v 1.1 2011/05/05 17:38:36 drochner Exp $ */
+/* $NetBSD: camellia-api.c,v 1.2 2021/09/04 00:33:09 gutteridge Exp $ */
 
 /*
  *
@@ -28,6 +28,7 @@
  */
 
 #include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: camellia-api.c,v 1.2 2021/09/04 00:33:09 gutteridge Exp $");
 
 #include <sys/types.h>
 #include <crypto/camellia/camellia.h>
diff -r 770245bfb1c4 -r 0b76e364c385 sys/crypto/camellia/camellia.c
--- a/sys/crypto/camellia/camellia.c    Fri Sep 03 22:48:49 2021 +0000
+++ b/sys/crypto/camellia/camellia.c    Sat Sep 04 00:33:09 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: camellia.c,v 1.2 2014/01/01 15:18:57 pgoyette Exp $ */
+/* $NetBSD: camellia.c,v 1.3 2021/09/04 00:33:09 gutteridge Exp $ */
 
 /* camellia.h ver 1.1.0
  *
@@ -33,6 +33,8 @@
  */
 
 #include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: camellia.c,v 1.3 2021/09/04 00:33:09 gutteridge Exp $");
+
 #include <sys/types.h>
 #include <sys/systm.h>
 #include <sys/errno.h>
@@ -1007,7 +1009,7 @@
 void
 camellia_decrypt128(const uint32_t *subkey, uint32_t *io)
 {
-    uint32_t il,ir,t0,t1;               /* temporary valiables */
+    uint32_t il,ir,t0,t1;               /* temporary variables */
     
     /* pre whitening but absorb kw2*/
     io[0] ^= SUBL(24);
@@ -1077,7 +1079,7 @@
 void
 camellia_encrypt256(const uint32_t *subkey, uint32_t *io)
 {
-    uint32_t il,ir,t0,t1;           /* temporary valiables */
+    uint32_t il,ir,t0,t1;           /* temporary variables */
 
     /* pre whitening but absorb kw2*/
     io[0] ^= SUBL(0);
@@ -1160,7 +1162,7 @@
 void
 camellia_decrypt256(const uint32_t *subkey, uint32_t *io)
 {
-    uint32_t il,ir,t0,t1;           /* temporary valiables */
+    uint32_t il,ir,t0,t1;           /* temporary variables */
 
     /* pre whitening but absorb kw2*/
     io[0] ^= SUBL(32);



Home | Main Index | Thread Index | Old Index