summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorRussell King2015-10-09 21:43:48 +0200
committerHerbert Xu2015-10-14 16:23:18 +0200
commitc3bf02a22c5369b25090d12c202ea0807d01978a (patch)
tree03f4ab7fd95fa76c1017c371da99692bf34e9f1e /Kbuild
parentcrypto: marvell/cesa - initialise struct mv_cesa_ahash_req (diff)
downloadkernel-qcow2-linux-c3bf02a22c5369b25090d12c202ea0807d01978a.tar.gz
kernel-qcow2-linux-c3bf02a22c5369b25090d12c202ea0807d01978a.tar.xz
kernel-qcow2-linux-c3bf02a22c5369b25090d12c202ea0807d01978a.zip
crypto: marvell/cesa - fix wrong hash results
Attempting to use the sha1 digest for openssh via openssl reveals that the result from the hash is wrong: this happens when we export the state from one socket and import it into another via calling accept(). The reason for this is because the operation is reset to "initial block" state, whereas we may be past the first fragment of data to be hashed. Arrange for the operation code to avoid the initialisation of the state, thereby preserving the imported state. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions