target/arm: implement SM4 instructions
commitb6577bcd251ca0d57ae1de149e3c706b38f21587
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 9 Feb 2018 10:40:28 +0000 (9 10:40 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Feb 2018 10:40:28 +0000 (9 10:40 +0000)
tree12e7fb6fa09bc27febea53f097a7082918480a89
parent80d6f4c6bbb718f343a832df8dee15329cc7686c
target/arm: implement SM4 instructions

This implements emulation of the new SM4 instructions that have
been added as an optional extension to the ARMv8 Crypto Extensions
in ARM v8.2.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Message-id: 20180207111729.15737-5-ard.biesheuvel@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/crypto_helper.c
target/arm/helper.h
target/arm/translate-a64.c