diff options
author | Eric Biggers <ebiggers@google.com> | 2016-11-23 10:24:35 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-11-28 21:23:24 +0800 |
commit | d3fa78adf0b5f45abd7d10c5de8ad1138e9ead4b (patch) | |
tree | 8fda2a13e3a47f6abddcf51c729d33e7f5d925c2 /crypto/ripemd.h | |
parent | db7ce67b329c2940759bf2d260edf267b5642a58 (diff) | |
download | linux-crypto-d3fa78adf0b5f45abd7d10c5de8ad1138e9ead4b.tar.gz linux-crypto-d3fa78adf0b5f45abd7d10c5de8ad1138e9ead4b.zip |
crypto: testmgr - don't use stack buffer in test_acomp()
With virtually-mapped stacks (CONFIG_VMAP_STACK=y), using the
scatterlist crypto API with stack buffers is not allowed, and with
appropriate debugging options will cause the
'BUG_ON(!virt_addr_valid(buf));' in sg_set_buf() to be triggered.
Use a heap buffer instead.
Fixes: 6d824d8932a0 ("crypto: acomp - update testmgr with support for acomp")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ripemd.h')
0 files changed, 0 insertions, 0 deletions