crypto: testmgr - check for aead_request corruption
authorEric Biggers <ebiggers@google.com>
Fri, 1 Feb 2019 07:51:50 +0000 (23:51 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Feb 2019 07:30:09 +0000 (15:30 +0800)
commita6e5ef9baa2a3245c40b2353c1050bbf1744ca37
tree10075983470b2e4949d9ba91af5224e8c3146b3d
parentfa353c99174e83ab59ab69ddbf923223b9e7ebbd
crypto: testmgr - check for aead_request corruption

Check that algorithms do not change the aead_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