git: 88a3af4da1aa - main - crypto(4): Fix a few typos in camellia.c

Gordon Bergling gbe at FreeBSD.org
Sat Sep 4 11:04:01 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=88a3af4da1aad5cf319c4c465baebc24b4e98fd8

commit 88a3af4da1aad5cf319c4c465baebc24b4e98fd8
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-09-04 11:02:11 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-09-04 11:02:11 +0000

    crypto(4): Fix a few typos in camellia.c
    
     - s/valiables/variables/
    
    Obtained from:  NetBSD
    MFC after:      3 days
---
 sys/crypto/camellia/camellia.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/crypto/camellia/camellia.c b/sys/crypto/camellia/camellia.c
index a48c83f73a80..3a42d1dcec67 100644
--- a/sys/crypto/camellia/camellia.c
+++ b/sys/crypto/camellia/camellia.c
@@ -1012,7 +1012,7 @@ camellia_encrypt128(const uint32_t *subkey, uint32_t *io)
 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);
@@ -1082,7 +1082,7 @@ camellia_decrypt128(const uint32_t *subkey, uint32_t *io)
 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);
@@ -1165,7 +1165,7 @@ camellia_encrypt256(const uint32_t *subkey, uint32_t *io)
 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);


More information about the dev-commits-src-all mailing list