aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-09-04 11:02:11 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-09-07 07:26:43 +0000
commit498854e31daa87f3cf38aff855105a8e7c1e98fe (patch)
tree351c35c46820a65a6b93abadc7d7543b063a61e7
parentbd0961f0663af764dc196fcab1b46e946cbcd931 (diff)
downloadsrc-498854e31daa87f3cf38aff855105a8e7c1e98fe.tar.gz
src-498854e31daa87f3cf38aff855105a8e7c1e98fe.zip
crypto(4): Fix a few typos in camellia.c
- s/valiables/variables/ Obtained from: NetBSD (cherry picked from commit 88a3af4da1aad5cf319c4c465baebc24b4e98fd8)
-rw-r--r--sys/crypto/camellia/camellia.c6
1 files 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);