JJérôme Forissierdrivers: crypto: aspeed: hace: fix digest incorrect problem
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
crypto/aspeed: ast2600: Add HACE HW hash support Aspeed AST2600 Hash and Crypto Engine (HACE) is designated to accelerate the throughput of hash and symmetric encryption/decryption. This patch adds the driver support for AST2600 HACE to provide HW-assisted hash for the SHA family. The initial driver structure for Aspeed crypto engines is also constructed. Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Acked-by: Jerome Forissier <jerome@forissier.org> | 4 年前 | |
drivers: crypto: aspeed: hace: fix digest incorrect problem 1. The processing status variable is not set to TEE_SUCCESS if everything works fine. 2. DMA memory needs physically contiguous memory. Allocate aligned DMA memory and copy data from/to DMA memory to make sure consistency of data. Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 4 年前 | |
drivers: crypto: aspeed: hace: resolve build issues Resolve various build and typo issues. Fixes: commit e752c173aa0f ("crypto/aspeed: ast2600: Add HACE HW hash support") Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 4 年前 | |
crypto/aspeed: ast2600: Add HACE HW hash support Aspeed AST2600 Hash and Crypto Engine (HACE) is designated to accelerate the throughput of hash and symmetric encryption/decryption. This patch adds the driver support for AST2600 HACE to provide HW-assisted hash for the SHA family. The initial driver structure for Aspeed crypto engines is also constructed. Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Acked-by: Jerome Forissier <jerome@forissier.org> | 4 年前 |