[PATCH RFC v3 0/3] target/arm: Implement SVE2 Crypto Extensions

Stephen Long posted 3 patches 5 years, 6 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
target/arm/cpu.h           |  5 +++
target/arm/crypto_helper.c | 86 ++++++++++++++++++++++++--------------
target/arm/helper-sve.h    |  3 ++
target/arm/helper.h        |  2 +
target/arm/sve.decode      | 20 +++++++++
target/arm/sve_helper.c    | 16 +++++++
target/arm/translate-sve.c | 64 ++++++++++++++++++++++++++++
7 files changed, 165 insertions(+), 31 deletions(-)
[PATCH RFC v3 0/3] target/arm: Implement SVE2 Crypto Extensions
Posted by Stephen Long 5 years, 6 months ago
Modified some of the crypto functions in crypto_helper.c to take in a
desc parameter.

Didn't add a desc parameter to SM4E and SM4EKEY since it is used in
translate-a64.c and the functions in there need crypto_sm4e and
crypto_sm4ekey to stay the same type (i.e. take 2 or 3 parameters)

Stephen Long (3):
  target/arm: Implement SVE2 AESMC, AESIMC
  target/arm: Implement SVE2 AESE, AESD, SM4E
  target/arm: Implement SVE2 SM4EKEY, RAX1

 target/arm/cpu.h           |  5 +++
 target/arm/crypto_helper.c | 86 ++++++++++++++++++++++++--------------
 target/arm/helper-sve.h    |  3 ++
 target/arm/helper.h        |  2 +
 target/arm/sve.decode      | 20 +++++++++
 target/arm/sve_helper.c    | 16 +++++++
 target/arm/translate-sve.c | 64 ++++++++++++++++++++++++++++
 7 files changed, 165 insertions(+), 31 deletions(-)

-- 
2.17.1


Re: [PATCH RFC v3 0/3] target/arm: Implement SVE2 Crypto Extensions
Posted by Richard Henderson 5 years, 5 months ago
On 4/27/20 2:40 PM, Stephen Long wrote:
> Modified some of the crypto functions in crypto_helper.c to take in a
> desc parameter.
> 
> Didn't add a desc parameter to SM4E and SM4EKEY since it is used in
> translate-a64.c and the functions in there need crypto_sm4e and
> crypto_sm4ekey to stay the same type (i.e. take 2 or 3 parameters)
> 
> Stephen Long (3):
>   target/arm: Implement SVE2 AESMC, AESIMC
>   target/arm: Implement SVE2 AESE, AESD, SM4E
>   target/arm: Implement SVE2 SM4EKEY, RAX1

In the end I took care of these insns myself, after rearranging the AdvSIMD
helpers.


r~