aboutsummaryrefslogtreecommitdiff
path: root/hmp.h
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-03-13 09:13:30 -0500
committerAlexander Graf <agraf@suse.de>2014-06-16 13:24:33 +0200
commitc15424531f2406cf5ad9f02d35204fac98601696 (patch)
treed0e332d0baa91d48346b8fbe912f42e7e0b36127 /hmp.h
parent59dcd29a6c4f89e946fd320539afbfc1859e826e (diff)
target-ppc: Refactor AES Instructions
This patch refactors the PowerPC Advanced Encryption Standard (AES) instructions to use the common AES tables (include/qemu/aes.h). Specifically: - vsbox is recoded to use the AES_sbox table. - vcipher, vcipherlast and vncipherlast are all recoded to use the optimized AES_t[ed][0-4] tables. - vncipher is recoded to use a combination of InvS-Box, InvShiftRows and InvMixColumns tables. It was not possible to use AES_Td[0-4] due to a slight difference in how PowerPC implements vncipher. Signed-off-by: Tom Musta <tommusta@gmail.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hmp.h')
0 files changed, 0 insertions, 0 deletions