summaryrefslogtreecommitdiffstats
path: root/target-ppc/kvm.c
diff options
context:
space:
mode:
authorTom Musta2014-03-13 15:13:30 +0100
committerAlexander Graf2014-06-16 13:24:33 +0200
commitc15424531f2406cf5ad9f02d35204fac98601696 (patch)
treed0e332d0baa91d48346b8fbe912f42e7e0b36127 /target-ppc/kvm.c
parenttarget-arm: Use Common Tables in AES Instructions (diff)
downloadqemu-c15424531f2406cf5ad9f02d35204fac98601696.tar.gz
qemu-c15424531f2406cf5ad9f02d35204fac98601696.tar.xz
qemu-c15424531f2406cf5ad9f02d35204fac98601696.zip
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 'target-ppc/kvm.c')
0 files changed, 0 insertions, 0 deletions