Re: [Qemu-devel] [PATCH 5/6] target-arm: Use Common Tables in AES Instructions

2014-03-12 Thread Richard Henderson
On 03/10/2014 12:05 PM, Tom Musta wrote: > +static uint8_t const *sbox[2] = { AES_sbox, AES_isbox }; Missing const: static uint8_t const * const sbox[2] = ... r~

[Qemu-devel] [PATCH 5/6] target-arm: Use Common Tables in AES Instructions

2014-03-10 Thread Tom Musta
This patch refactors the ARM cryptographic instructions to use the (newly) added common tables from include/qemu/aes.h. Signed-off-by: Tom Musta diff --git a/target-arm/crypto_helper.c b/target-arm/crypto_helper.c index f94be69..9dc0c8e 100644 --- a/target-arm/crypto_helper.c +++ b/target-arm/cr