
On Sun, Mar 17, 2013 at 11:06 PM, Akshay Saraswat akshay.s@samsung.com wrote:
Adding H/W acceleration support to hash which can be used to test SHA 256 hash algorithm.
Signed-off-by: ARUN MANKUZHI arun.m@samsung.com Signed-off-by: Akshay Saraswat akshay.s@samsung.com
Your alphabetical order looks slightly different to mine :-) Anyway:
Acked-by: Simon Glass sjg@chromium.org
Changes since v1: - Added sha256 support to "hash" command instead of new sha256 command.
Changes sice v2: - 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.
Changes sice v3: - Changed command names to lower case in algo struct. - Added generic ace_sha config.
Changes sice v4: - Changed function names in struct algo. - Replaced ACE_SHA_TYPE to CHUNSZ in struct algo.
Changes sice v5: - Added file hw_sha.h. - Changed CONFIG_ACE_SHA to CONFIG_SHA_HW_ACCEL. - Renamed function names ace_sha1 and ace_sha256 to hw_sha1 and hw_sha256 respectively.
Changes sice v6: - Changed position of "hw_sha.h" among includes (alpha order). - Rebased patch.
common/hash.c | 18 ++++++++++++++++++ include/hw_sha.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 include/hw_sha.h