Hi Chia-Wei, On Tue, 20 Jul 2021 at 00:38, Chia-Wei Wang <chiawei_w...@aspeedtech.com> wrote: > > From: Joel Stanley <j...@jms.id.au> > > Hash and Crypto Engine (HACE) is designed to accelerate the > throughput of hash data digest, and symmetric-key encryption. > > Signed-off-by: Joel Stanley <j...@jms.id.au> > Signed-off-by: Chia-Wei Wang <chiawei_w...@aspeedtech.com> > --- > drivers/crypto/Kconfig | 2 + > drivers/crypto/Makefile | 1 + > drivers/crypto/aspeed/Kconfig | 12 ++ > drivers/crypto/aspeed/Makefile | 1 + > drivers/crypto/aspeed/aspeed_hace.c | 308 ++++++++++++++++++++++++++++ > 5 files changed, 324 insertions(+) > create mode 100644 drivers/crypto/aspeed/Kconfig > create mode 100644 drivers/crypto/aspeed/Makefile > create mode 100644 drivers/crypto/aspeed/aspeed_hace.c
This hash interface is wonky. There should be a hash uclass and this driver should be in that uclass. The existing hw_... functions should be dropped. Please let me know if you need further guidance, but basically, we need a proper uclass and driver. Regards, Simon