]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: testmgr - check for skcipher_request corruption
authorEric Biggers <ebiggers@google.com>
Fri, 1 Feb 2019 07:51:49 +0000 (23:51 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Feb 2019 07:30:09 +0000 (15:30 +0800)
commit8a18f0d1250896d76a5067897c91c9860963d26f
treeb8400f1764dc2f0577bbb0dcbe94c9347ec21e8f
parent65e9eb1d95fc30eb32a97b716ec04ae7b41f4d34
crypto: testmgr - check for skcipher_request corruption

Check that algorithms do not change the skcipher_request structure, as
users may rely on submitting the request again (e.g. after copying new
data into the same source buffer) without reinitializing everything.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c