mirror of
https://github.com/opnsense/src.git
synced 2026-05-26 19:23:04 -04:00
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:
parent
0e6969a0f4
commit
481bc33264
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue