[U-Boot] [PATCH 0/4 v3] Add ACE HW support for SHA 256
Akshay Saraswat
akshay.s at samsung.com
Fri Mar 1 17:16:21 CET 2013
This patch set adds hardware acceleration for SHA 256
with the help of ACE.
Changes since v2:
- Patch-1:
- Added falling back to software sha256 in case length exceeds buffer limit.
- Reduced one tab at lines 533, 559 and 571 in the patch.
- Removed space after a cast at line 506 in the patch.
- Removed blank line at line 561 in the patch.
- Removed space before semicolon at line 576 in the patch.
- Patch-2:
- Added "SHA1" in the comment for config.
- Patch-3:
- Added new nodes for SHA1 and SHA256 in struct hash_algo for the case when ACE is enabled.
- Added new declaration for function pointer hash_func_ws with different return type.
- Patch-4:
- New patch to enable config for hash command.
Akshay Saraswat (4):
Exynos: Add hardware accelerated SHA 256
Exynos: config: Enable ACE HW for SHA 256 for Exynos
gen: Add ACE acceleration to hash
Exynos: config: Enable hash command
Makefile | 1 +
arch/arm/include/asm/arch-exynos/cpu.h | 4 +
common/hash.c | 15 ++
drivers/crypto/Makefile | 47 +++++
drivers/crypto/ace_sfr.h | 310 +++++++++++++++++++++++++++++++++
drivers/crypto/ace_sha.c | 127 ++++++++++++++
include/ace_sha.h | 42 +++++
include/configs/exynos5250-dt.h | 4 +
include/hash.h | 5 +
9 files changed, 555 insertions(+)
create mode 100644 drivers/crypto/Makefile
create mode 100644 drivers/crypto/ace_sfr.h
create mode 100644 drivers/crypto/ace_sha.c
create mode 100644 include/ace_sha.h
--
1.8.0
More information about the U-Boot
mailing list