target-ppc: simplify AES emulation
commit36cbde7c30ead127dcd7c03b96d4dabf10a6d6c5
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Oct 2014 16:25:52 +0000 (27 17:25 +0100)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:15 +0000 (4 23:26 +0100)
treecbe83ddf25a191ac6cbcc42010eb7630cf91de94
parentfdfb7f2cdb2d0ed364a8c8c538d0ece8c464b534
target-ppc: simplify AES emulation

This patch simplifies the AES code, by directly accessing the newly added
S-Box, InvS-Box tables instead of recreating them by using the AES_Te and
AES_Td tables.

Cc: Alexander Graf <agraf@suse.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/int_helper.c