altos: AES code was storing bytes in an int array
authorKeith Packard <keithp@keithp.com>
Thu, 27 Jan 2022 23:49:15 +0000 (15:49 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 27 Jan 2022 23:49:15 +0000 (15:49 -0800)
commit606a67724dea8ab3d52d52456722dc593cf8ac8d
tree235aa60a213bf4badd019d6cd4c78b45024c88e4
parent59cbf80e63b4c88de45e59c6e3d209f99910fcf3
altos: AES code was storing bytes in an int array

The only operations using these values are logic using bytes, not
arithmetic, so shrinking the size of the elements should have no
effect on operation.

This saves space *and* eliminates a type conversion warning from
-Wconversion.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/aes/ao_aes_tables.c
src/aes/ao_aes_tables.h