crypto: omap-sham - Add SHA384 and SHA512 Support
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 26 Jul 2013 06:59:14 +0000 (12:29 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Aug 2013 00:54:00 +0000 (10:54 +1000)
commiteaef7e3f3f82923ea175ce4859908bb0d70072f3
treea3ae6c376b3df708236b29241d970abb077bc8d1
parent9e01d0c6f63a59cc756c0028e17effdbadee7227
crypto: omap-sham - Add SHA384 and SHA512 Support

Adding support for SHA348 and SHA512 in addition to MD5, SHA1, SHA224
SHA256 that the omap sha module supports.

In order to add the support
- Removed hard coded register offsets and passing offsets from pdata
- Updating Flag offsets so that they can be used for SHA256 and SHA512
- Adding the algo info.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/omap-sham.c