Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2021 07:25:22 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 481bc33264d5 - stable/13 - crypto(4): Fix a few typos in camellia.c
Message-ID:  <202109070725.1877PMWg010417@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=481bc33264d543782aad02e6ff1b73fbdb286784

commit 481bc33264d543782aad02e6ff1b73fbdb286784
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-09-04 11:02:11 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-09-07 07:23:33 +0000

    crypto(4): Fix a few typos in camellia.c
    
     - s/valiables/variables/
    
    Obtained from:  NetBSD
    
    (cherry picked from commit 88a3af4da1aad5cf319c4c465baebc24b4e98fd8)
---
 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109070725.1877PMWg010417>