]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: omap-sham - Add SHA224 and SHA256 Support
authorMark A. Greer <mgreer@animalcreek.com>
Fri, 21 Dec 2012 17:04:09 +0000 (10:04 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 Jan 2013 10:43:58 +0000 (21:43 +1100)
commitd20fb18be246d196225ed151c126832b2dab6506
tree010c6547d2e2c289f652691ecf73846a38242eee
parent0d373d603202b8bfecc87b9b3602e6ffbf9e4feb
crypto: omap-sham - Add SHA224 and SHA256 Support

The OMAP4/AM33xx version of the SHAM crypto module
supports SHA224 and SHA256 in addition to MD5 and
SHA1 that the OMAP2 version of the module supports.

To add this support, use the platform_data introduced
in an ealier commit to hold the list of algorithms
supported by the current module.  The probe routine
will use that list to register the correct algorithms.

Note: The code being integrated is from the TI AM33xx SDK
and was written by Greg Turner <gkmturner@gmail.com> and
Herman Schuurman (current email unknown) while at TI.

CC: Greg Turner <gkmturner@gmail.com>
CC: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c