summaryrefslogtreecommitdiffstats
path: root/net/tls/tls_sw.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-12-01 22:53:28 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-11 09:37:01 +0100
commitfd8c37c72d60c7c8f5c4d0702a0b30499cf9d422 (patch)
tree6a4df50f147b3b8f64a22fdbc68da5750b30ed2a /net/tls/tls_sw.c
parentcrypto: testmgr - check skcipher min_keysize (diff)
downloadlinux-fd8c37c72d60c7c8f5c4d0702a0b30499cf9d422.tar.xz
linux-fd8c37c72d60c7c8f5c4d0702a0b30499cf9d422.zip
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 'net/tls/tls_sw.c')
0 files changed, 0 insertions, 0 deletions