OSDN Git Service

hw: Model ASPEED's Hash and Crypto Engine
authorJoel Stanley <joel@jms.id.au>
Sat, 1 May 2021 08:03:51 +0000 (10:03 +0200)
committerCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:51 +0000 (10:03 +0200)
commitc5475b3f9aa28c1c1422c7de0bab40c5dff77341
tree2a6ef39ffc5ad4f1f8ed5b506127b958eeabdc24
parente9c568dbc22551f069dbc30ca3b61e168f494d47
hw: Model ASPEED's Hash and Crypto Engine

The HACE (Hash and Crypto Engine) is a device that offloads MD5, SHA1,
SHA2, RSA and other cryptographic algorithms.

This initial model implements a subset of the device's functionality;
currently only MD5/SHA hashing, and on the ast2600's scatter gather
engine.

Co-developed-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
[ clg: - fixes for 32-bit and OSX builds ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210409000253.1475587-2-joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
docs/system/arm/aspeed.rst
hw/misc/aspeed_hace.c [new file with mode: 0644]
hw/misc/meson.build
include/hw/misc/aspeed_hace.h [new file with mode: 0644]