linux-sg2042/arch/s390/crypto
Herbert Xu 9d20b571f5 crypto: sha-s390 - Reset index after processing partial block
The partial block handling in sha-s390 is broken when we get a
partial block that is followed by an update which fills it with
bytes left-over.  Instead of storing the newly left-over bytes
at the start of the buffer, it will be stored immediately after
the previous partial block.

This patch fixes this by resetting the index pointer.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2011-02-07 20:26:06 +11:00
..
Makefile crypto: des_s390: use generic weak key check 2010-05-21 22:04:46 +10:00
aes_s390.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2010-02-26 16:50:02 -08:00
crypt_s390.h [S390] cleanup facility list handling 2010-10-25 16:10:21 +02:00
crypto_des.h crypto: des_s390 - Checkpatch cleanup 2010-05-26 10:41:03 +10:00
des_check_key.c [S390] move crypto options and some cleanup. 2007-02-05 21:18:14 +01:00
des_s390.c crypto: des_s390: use generic weak key check 2010-05-21 22:04:46 +10:00
prng.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
sha.h crypto: sha-s390 - Switch to shash 2009-02-18 16:48:07 +08:00
sha1_s390.c crypto: sha-s390 - Fix warnings in import function 2009-09-05 16:27:35 +10:00
sha256_s390.c crypto: sha-s390 - Fix warnings in import function 2009-09-05 16:27:35 +10:00
sha512_s390.c crypto: sha-s390 - Fix warnings in import function 2009-09-05 16:27:35 +10:00
sha_common.c crypto: sha-s390 - Reset index after processing partial block 2011-02-07 20:26:06 +11:00