On 20 February 2015 at 00:21, Gaurav Rana <gaurav.r...@freescale.com> wrote: > Currently only normal hashing is supported using hardware acceleration. > Added support for progressive hashing using hardware. > > Signed-off-by: Ruchika Gupta <ruchika.gu...@freescale.com> > Signed-off-by: Gaurav Rana <gaurav.r...@freescale.com> > CC: Simon Glass <s...@chromium.org> > --- > Changes in v6: > Modify description for CONFIG_SHA256, CONFIG_SHA256, CONFIG_SHA_PROG_HW_ACCEL, > CONFIG_SHA_HW_ACCEL in README and Kconfig.
Reviewed-by: Simon Glass <s...@chromium.org> > > Changes in v5: > Modify description for CONFIG_SHA256, CONFIG_SHA256. > > Changes in v4: > Add CONFIG_SHA256, CONFIG_SHA256, CONFIG_SHA_PROG_HW_ACCEL, > CONFIG_SHA_HW_ACCEL to Kconfig. > Modify README for these configs descriptions. > > Changes in v3: > Remove duplication of code and create function gen_hash_type. > Modify MAX_SG to MAX_SG_32 > > Changes in v2: > Merge to common functions for SHA1 and SHA256. > Replace malloc and memset with calloc. > Remove cast conversions for void* pointers. > Replace hardcoded errors with Macros. > Corrected comments. > > Kconfig | 4 +- > README | 20 ++++-- > common/hash.c | 10 +++ > drivers/crypto/fsl/fsl_hash.c | 138 > +++++++++++++++++++++++++++++++++++++++++- > drivers/crypto/fsl/fsl_hash.h | 34 +++++++++++ > include/fsl_sec.h | 26 ++++++++ > include/hw_sha.h | 41 ++++++++++++- > lib/Kconfig | 36 +++++++++++ > 8 files changed, 302 insertions(+), 7 deletions(-) > create mode 100644 drivers/crypto/fsl/fsl_hash.h _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot