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)
commitfa353c99174e83ab59ab69ddbf923223b9e7ebbd
treeb8400f1764dc2f0577bbb0dcbe94c9347ec21e8f
parent4cc2dcf95f1c2849e489df91c07aee5f368a39f9
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