Re: [PATCH 04/35] crypto: Add aesenc_SB_SR

2023-06-03 Thread Richard Henderson
On 6/3/23 06:15, Ard Biesheuvel wrote: diff --git a/crypto/aes.c b/crypto/aes.c index 1309a13e91..708838315a 100644 --- a/crypto/aes.c +++ b/crypto/aes.c @@ -29,6 +29,7 @@ */ #include "qemu/osdep.h" #include "crypto/aes.h" +#include "crypto/aes-round.h" typedef uint32_t u32; typedef u

Re: [PATCH 04/35] crypto: Add aesenc_SB_SR

2023-06-03 Thread Ard Biesheuvel
On Sat, 3 Jun 2023 at 04:34, Richard Henderson wrote: > > Start adding infrastructure for accelerating guest AES. > Begin with a SubBytes + ShiftRows primitive. > > Signed-off-by: Richard Henderson > --- > host/include/generic/host/aes-round.h | 15 + > include/crypto/aes-round.h

[PATCH 04/35] crypto: Add aesenc_SB_SR

2023-06-02 Thread Richard Henderson
Start adding infrastructure for accelerating guest AES. Begin with a SubBytes + ShiftRows primitive. Signed-off-by: Richard Henderson --- host/include/generic/host/aes-round.h | 15 + include/crypto/aes-round.h| 41 +++ crypto/aes.c