commit | 24cbcc9427a35ef95e2c7651a361e5b462f10b8e | [log] [tgz] |
---|---|---|
author | Thara Gopinath <thara.gopinath@linaro.org> | Thu Feb 11 15:01:26 2021 -0500 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sun Mar 07 15:13:17 2021 +1100 |
tree | ec6962dcf9bfb9f78a56c527a40479c2f11fd458 | |
parent | 25b71d61d6317212274b822e1cdbb03e499eea43 [diff] |
crypto: qce - Set data unit size to message length for AES XTS transformation Set the register REG_ENCR_XTS_DU_SIZE to cryptlen for AES XTS transformation. Anything else causes the engine to return back wrong results. Acked-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>