crypto: qce - Remove totallen and offset in qce_start
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 11 Feb 2021 20:01:28 +0000 (15:01 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 7 Mar 2021 04:13:17 +0000 (15:13 +1100)
commit4139fd587320da311fca9c4da231dc850d4f4a22
treebced252116216ff6b409a292aa09e93d92634c34
parent62e4842842f3711b0674aa96742cfbec2c074d3f
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>
drivers/crypto/qce/common.c
drivers/crypto/qce/common.h
drivers/crypto/qce/sha.c
drivers/crypto/qce/skcipher.c