diff options
author | 2020-09-22 19:03:25 +0300 | |
---|---|---|
committer | 2020-10-02 18:02:11 +1000 | |
commit | 297b931c2a3cada230d8b84432ee982fc68cf76a (patch) | |
tree | f2a59df04c6b2c07b5f6f54c6061676bbb1486f0 /lib/mpi/mpi-mul.c | |
parent | crypto: caam/qi2 - add support for more XTS key lengths (diff) | |
download | wireguard-linux-297b931c2a3cada230d8b84432ee982fc68cf76a.tar.xz wireguard-linux-297b931c2a3cada230d8b84432ee982fc68cf76a.zip |
crypto: caam - add xts check for block length equal to zero
XTS should not return succes when dealing with block length equal to zero.
This is different than the rest of the skcipher algorithms.
Fixes: 31bb2f0da1b50 ("crypto: caam - check zero-length input")
Cc: <stable@vger.kernel.org> # v5.4+
Signed-off-by: Andrei Botila <andrei.botila@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions