commit | b828f905904cd76424230c69741a4cabb0174168 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon Dec 30 21:19:32 2019 -0600 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jan 09 11:30:51 2020 +0800 |
tree | fe1aac556ff02d4a2eedeb86c193c4602fcc5408 | |
parent | bd56cea012fc2d6381e8cd3209510ce09f9de8c9 [diff] |
crypto: artpec6 - return correct error code for failed setkey() ->setkey() is supposed to retun -EINVAL for invalid key lengths, not -1. Fixes: a21eb94fc4d3 ("crypto: axis - add ARTPEC-6/7 crypto accelerator driver") Cc: Jesper Nilsson <jesper.nilsson@axis.com> Cc: Lars Persson <lars.persson@axis.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Acked-by: Lars Persson <lars.persson@axis.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>