On Thu, Jun 08, 2023 at 07:23:29PM -0700, Richard Henderson wrote:
Start adding infrastructure for accelerating guest AES.
Begin with a SubBytes + ShiftRows + AddRoundKey primitive.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
host/include/generic/host/aes-round.h | 16 ++++++++++
include/crypto/aes-round.h | 44 +++++++++++++++++++++++++++
crypto/aes.c | 44 +++++++++++++++++++++++++++
3 files changed, 104 insertions(+)
create mode 100644 host/include/generic/host/aes-round.h
create mode 100644 include/crypto/aes-round.h
diff --git a/host/include/generic/host/aes-round.h
b/host/include/generic/host/aes-round.h
new file mode 100644
index 0000000000..19c8505e2b
--- /dev/null
+++ b/host/include/generic/host/aes-round.h
Could we put these files under a 'crypto/' subdirectory eg
host/include/generic/host/crypto/aes-round.h
and then add
host/include/*/host/crypto
to MAINTAINERS for 'crypto'.