summaryrefslogtreecommitdiff
path: root/samples/seccomp
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-12-02 00:53:28 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-11 11:37:01 +0300
commitfd8c37c72d60c7c8f5c4d0702a0b30499cf9d422 (patch)
tree6a4df50f147b3b8f64a22fdbc68da5750b30ed2a /samples/seccomp
parentfd60f727876467a89ac42c873e20b38d9a408062 (diff)
downloadlinux-fd8c37c72d60c7c8f5c4d0702a0b30499cf9d422.tar.xz
crypto: testmgr - test setting misaligned keys
The alignment bug in ghash_setkey() fixed by commit 5c6bc4dfa515 ("crypto: ghash - fix unaligned memory access in ghash_setkey()") wasn't reliably detected by the crypto self-tests on ARM because the tests only set the keys directly from the test vectors. To improve test coverage, update the tests to sometimes pass misaligned keys to setkey(). This applies to shash, ahash, skcipher, and aead. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions