diff options
author | Eric Biggers <ebiggers@google.com> | 2019-12-31 06:19:32 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-09 06:30:51 +0300 |
commit | b828f905904cd76424230c69741a4cabb0174168 (patch) | |
tree | fe1aac556ff02d4a2eedeb86c193c4602fcc5408 /drivers/crypto/atmel-sha.c | |
parent | bd56cea012fc2d6381e8cd3209510ce09f9de8c9 (diff) | |
download | linux-b828f905904cd76424230c69741a4cabb0174168.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/atmel-sha.c')
0 files changed, 0 insertions, 0 deletions