android_kernel_google_msm/drivers/crypto
Mona Hossain 06388d508f crypto: Add wait states for hash/hmac operations
Currently, hash (SHA1/256/hmac) operation occasionally results
in an incorrect hash value. This is due to the premature reading
of the AUTH_IV register done before the last SHA block is processed.
There needs to be enough delay (wait states) before the AUTH_IV
register is read to extract the hash value.

The current implementation has 2 wait states. Adding 2 more wait states
for hash operations, resolves the issue.

The wait states are calculated based on the inputs from the hardware
team with regards to the time taken to process the last block of 16
bytes of the data packet.

Signed-off-by: Mona Hossain <mhossain@codeaurora.org>

Change-Id: I82936441429560e41f25a98994d49a0113eb8de2
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
2013-03-07 15:20:53 -08:00
..
amcc crypto: convert drivers/crypto/* to use module_platform_driver() 2011-11-30 16:12:48 +08:00
caam crypto: caam - fix gcc 4.6 warning 2012-01-26 13:36:59 +11:00
msm crypto: Add wait states for hash/hmac operations 2013-03-07 15:20:53 -08:00
geode-aes.c crypto: Add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2012-01-13 16:38:40 +11:00
geode-aes.h
hifn_795x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2012-03-21 13:20:43 -07:00
ixp4xx_crypto.c crypto: ixp4xx - include fix 2012-04-05 20:34:21 +08:00
Kconfig crypto: Add support for crypto engine 5.0 2013-02-27 18:18:16 -08:00
Makefile crypto: Add MSM crypto drivers 2013-02-25 11:29:28 -08:00
mv_cesa.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2012-03-21 13:20:43 -07:00
mv_cesa.h
n2_asm.S
n2_core.c crypto: Add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2012-01-13 16:38:40 +11:00
n2_core.h
omap-aes.c crypto: Add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2012-01-13 16:38:40 +11:00
omap-sham.c crypto: Add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2012-01-13 16:38:40 +11:00
padlock-aes.c crypto: Add support for x86 cpuid auto loading for x86 crypto drivers 2012-01-26 16:48:10 -08:00
padlock-sha.c crypto: Add support for x86 cpuid auto loading for x86 crypto drivers 2012-01-26 16:48:10 -08:00
picoxcell_crypto.c crypto: Add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2012-01-13 16:38:40 +11:00
picoxcell_crypto_regs.h
s5p-sss.c crypto: Add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2012-01-13 16:38:40 +11:00
talitos.c crypto: talitos - properly lock access to global talitos registers 2012-04-09 15:13:40 +08:00
talitos.h crypto: talitos - support for channel remap and 2nd IRQ 2011-11-21 16:21:51 +08:00
tegra-aes.c crypto: driver for Tegra AES hardware 2012-01-13 16:38:37 +11:00
tegra-aes.h crypto: driver for Tegra AES hardware 2012-01-13 16:38:37 +11:00