]> 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)
commitd58561e62fb10fb1ba58ab29730b8995b23c2d34
treeb8400f1764dc2f0577bbb0dcbe94c9347ec21e8f
parent200dba3ea85cb474c5fdd922e6764d487b3e6bc3
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