diff options
author | Kai Ye <yekai13@huawei.com> | 2022-05-13 16:02:44 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-05-20 13:54:45 +0800 |
commit | 2d33f5771b513f7dfb819563d4b38b687f2a4982 (patch) | |
tree | 22611f4a45d4954ecfe1aab60d2e073f130d3f3f /drivers/char | |
parent | fbdab61af2d02ebf9c015458c95e34b54dea9027 (diff) | |
download | linux-2d33f5771b513f7dfb819563d4b38b687f2a4982.tar.bz2 |
crypto: hisilicon/sec - delete the flag CRYPTO_ALG_ALLOCATES_MEMORY
Should not to uses the CRYPTO_ALG_ALLOCATES_MEMORY in SEC2. The SEC2
driver uses the pre-allocated buffers, including the src sgl pool, dst
sgl pool and other qp ctx resources. (e.g. IV buffer, mac buffer, key
buffer). The SEC2 driver doesn't allocate memory during request processing.
The driver only maps software sgl to allocated hardware sgl during I/O. So
here is fix it.
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions