OpenCloudOS-Kernel/drivers/crypto/qce
Thara Gopinath 4139fd5873 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>
2021-03-07 15:13:17 +11:00
..
Makefile crypto: qce - allow building only hashes/ciphers 2019-12-27 18:18:04 +08:00
cipher.h crypto: qce - Remover src_tbl from qce_cipher_reqctx 2021-03-07 15:13:17 +11:00
common.c crypto: qce - Remove totallen and offset in qce_start 2021-03-07 15:13:17 +11:00
common.h crypto: qce - Remove totallen and offset in qce_start 2021-03-07 15:13:17 +11:00
core.c crypto: qce - Enable support for crypto engine on sdm845 2020-11-27 17:13:40 +11:00
core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
dma.c crypto: qce - use cryptlen when adding extra sgl 2020-02-13 17:05:26 +08:00
dma.h crypto: qce - use cryptlen when adding extra sgl 2020-02-13 17:05:26 +08:00
regs-v5.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
sha.c crypto: qce - Remove totallen and offset in qce_start 2021-03-07 15:13:17 +11:00
sha.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
skcipher.c crypto: qce - Remove totallen and offset in qce_start 2021-03-07 15:13:17 +11:00