crypto(4): Fix a few typos in camellia.c

- s/valiables/variables/

Obtained from:	NetBSD

(cherry picked from commit 88a3af4da1)
This commit is contained in:
Gordon Bergling 2021-09-04 13:02:11 +02:00
parent 0e6969a0f4
commit 481bc33264

View File

@ -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);