mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/arm: Move aesmc and aesimc tables to crypto/aes.c
We do not currently have a table in crypto/ for just MixColumns. Move both tables for consistency. Acked-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ca1e9c3ba1
commit
fb250c59aa
3 changed files with 151 additions and 138 deletions
|
@ -34,6 +34,12 @@ extern const uint8_t AES_isbox[256];
|
|||
extern const uint8_t AES_shifts[16];
|
||||
extern const uint8_t AES_ishifts[16];
|
||||
|
||||
/* AES MixColumns, for use with rot32. */
|
||||
extern const uint32_t AES_mc_rot[256];
|
||||
|
||||
/* AES InvMixColumns, for use with rot32. */
|
||||
extern const uint32_t AES_imc_rot[256];
|
||||
|
||||
/* AES InvMixColumns */
|
||||
/* AES_imc[x][0] = [x].[0e, 09, 0d, 0b]; */
|
||||
/* AES_imc[x][1] = [x].[0b, 0e, 09, 0d]; */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue