target/arm: Convert sha512 and sm3 to gvec helpers
commitaaffebd6d3135b8aed7e61932af53b004d261579
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 May 2020 21:28:28 +0000 (14 14:28 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Jun 2020 16:23:09 +0000 (5 17:23 +0100)
treeba7636421ec38988c1c25486db2c7e7053092260
parent1738860d7e60dec5dbeba17f8b44d31aae3accac
target/arm: Convert sha512 and sm3 to gvec helpers

Do not yet convert the helpers to loop over opr_sz, but the
descriptor allows the vector tail to be cleared.  Which fixes
an existing bug vs SVE.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200514212831.31248-4-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/crypto_helper.c
target/arm/helper.h
target/arm/translate-a64.c