summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>2022-11-28 13:21:22 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-12-09 11:45:00 +0100
commit5fc8041e56782e4d44682f8c2e4d822817a4dae6 (patch)
treebc2673588061271bc70341bfa5e0f0830fcf657f /drivers/crypto
parentcrypto: qat - enable deflate for QAT GEN4 (diff)
downloadlinux-5fc8041e56782e4d44682f8c2e4d822817a4dae6.tar.xz
linux-5fc8041e56782e4d44682f8c2e4d822817a4dae6.zip
crypto: acomp - define max size for destination
The acomp API allows to send requests with a NULL destination buffer. In this case, the algorithm implementation needs to allocate the destination scatter list, perform the operation and return the buffer to the user. For decompression, data is likely to expand and be bigger than the allocated buffer. Define the maximum size (128KB) that acomp implementations will allocate for decompression operations as destination buffer when they receive a request with a NULL destination buffer. Suggested-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions