Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: sha-s390 - Reset index after processing partial block
This commit is contained in:
@@ -38,6 +38,7 @@ int s390_sha_update(struct shash_desc *desc, const u8 *data, unsigned int len)
|
|||||||
BUG_ON(ret != bsize);
|
BUG_ON(ret != bsize);
|
||||||
data += bsize - index;
|
data += bsize - index;
|
||||||
len -= bsize - index;
|
len -= bsize - index;
|
||||||
|
index = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* process as many blocks as possible */
|
/* process as many blocks as possible */
|
||||||
|
Reference in New Issue
Block a user