diff options
author | Thara Gopinath <thara.gopinath@linaro.org> | 2021-02-11 23:01:28 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-07 07:13:17 +0300 |
commit | 4139fd587320da311fca9c4da231dc850d4f4a22 (patch) | |
tree | bced252116216ff6b409a292aa09e93d92634c34 /drivers/crypto/qce/common.h | |
parent | 62e4842842f3711b0674aa96742cfbec2c074d3f (diff) | |
download | linux-4139fd587320da311fca9c4da231dc850d4f4a22.tar.xz |
crypto: qce - Remove totallen and offset in qce_start
totallen is used to get the size of the data to be transformed.
This is also available via nbytes or cryptlen in the qce_sha_reqctx
and qce_cipher_ctx. Similarly offset convey nothing for the supported
encryption and authentication transformations and is always 0.
Remove these two redundant parameters in qce_start.
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qce/common.h')
-rw-r--r-- | drivers/crypto/qce/common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/qce/common.h b/drivers/crypto/qce/common.h index 85ba16418a04..3bc244bcca2d 100644 --- a/drivers/crypto/qce/common.h +++ b/drivers/crypto/qce/common.h @@ -94,7 +94,6 @@ struct qce_alg_template { void qce_cpu_to_be32p_array(__be32 *dst, const u8 *src, unsigned int len); int qce_check_status(struct qce_device *qce, u32 *status); void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step); -int qce_start(struct crypto_async_request *async_req, u32 type, u32 totallen, - u32 offset); +int qce_start(struct crypto_async_request *async_req, u32 type); #endif /* _COMMON_H_ */ |