diff options
author | Eric Biggers | 2019-04-10 08:46:35 +0200 |
---|---|---|
committer | Herbert Xu | 2019-04-18 16:14:58 +0200 |
commit | 694e0db6600c12f8172efb51cd4b4bbade958562 (patch) | |
tree | 02072801a75103ecb788005f608b4333b7185241 /crypto | |
parent | crypto: arm64/aes-neonbs - don't access already-freed walk.iv (diff) | |
download | kernel-qcow2-linux-694e0db6600c12f8172efb51cd4b4bbade958562.tar.gz kernel-qcow2-linux-694e0db6600c12f8172efb51cd4b4bbade958562.tar.xz kernel-qcow2-linux-694e0db6600c12f8172efb51cd4b4bbade958562.zip |
crypto: vmx - return correct error code on failed setkey
In the VMX implementations of AES and AES modes, return -EINVAL when an
invalid key length is provided, rather than some unusual error code
determined via a series of additions. This makes the behavior match the
other AES implementations in the kernel's crypto API.
Cc: Daniel Axtens <dja@axtens.net>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions