crypto: kpp - Add helper to set reqsize
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Nov 2022 09:24:01 +0000 (17:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:21:42 +0000 (16:21 +0200)
commit2db49992fcec7ed03791e8cb4e7fcdda3f79f43a
tree72551f16b19ea9a90d8f9dcc025eec99925c4bc0
parentc14964fe8e9514c4e14a3c8f9a4b9227bff6bbc0
crypto: kpp - Add helper to set reqsize

[ Upstream commit 56861cbde1b9f3b34d300e6ba87f2c3de1a9c309 ]

The value of reqsize should only be changed through a helper.
To do so we need to first add a helper for this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Stable-dep-of: eb7713f5ca97 ("crypto: qat - unmap buffer before free for DH")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/crypto/internal/kpp.h