[PATCH v2 0/2] aspeed: HACE hash Scatter-Gather support

Klaus Heinrich Kiwi posted 2 patches 3 years ago
Failed in applying to current master (apply log)
There is a newer version of this series
docs/system/arm/aspeed.rst     |   2 +-
hw/misc/aspeed_hace.c          | 126 +++++++++++++++++++++++++++++++--
tests/qtest/aspeed_hace-test.c | 156 ++++++++++++++++++++++++++++++++++++++---
3 files changed, 268 insertions(+), 16 deletions(-)
[PATCH v2 0/2] aspeed: HACE hash Scatter-Gather support
Posted by Klaus Heinrich Kiwi 3 years ago
This series adds support for scatter-gather sha256 and sha512 operations
on Aspeed's HACE (Hash And Crypto Engine) to the Aspeed model, as well
as testcases for them.

These operations are supported on AST2600 series of machines.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>

---
Changes since V1:

 * Use address_space_ldl_le() to load single addresses instead of
   address_space_map()
 * Updated documentation
 * Removed several uneeded variables / casts
 * Confirmed behavior on real hardware for register masks, IRQ register
   etc
 * Adjusted testcases accordingly
 * Coding style fixes

 docs/system/arm/aspeed.rst     |   2 +-
 hw/misc/aspeed_hace.c          | 126 +++++++++++++++++++++++++++++++--
 tests/qtest/aspeed_hace-test.c | 156 ++++++++++++++++++++++++++++++++++++++---
 3 files changed, 268 insertions(+), 16 deletions(-)