diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2022-11-28 13:21:22 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-12-09 11:45:00 +0100 |
commit | 5fc8041e56782e4d44682f8c2e4d822817a4dae6 (patch) | |
tree | bc2673588061271bc70341bfa5e0f0830fcf657f /drivers/crypto | |
parent | crypto: qat - enable deflate for QAT GEN4 (diff) | |
download | linux-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