diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2019-04-29 16:43:20 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-05-23 14:01:03 +0800 |
commit | 96ee111a659e0f0bdfc48402b9d4162e14016ff1 (patch) | |
tree | 49ec25a11e060188db2a9755ab8c81fc1e3f4fd9 /drivers/crypto/qat/qat_c3xxx | |
parent | 92fec16d1f4d852711511844b02f5353825d1578 (diff) |
crypto: qat - return error for block ciphers for invalid requests
Return -EINVAL if a request for a block cipher is not multiple of the
size of the block.
This problem was found with by the new extra run-time crypto self test.
Reviewed-by: Conor Mcloughlin <conor.mcloughlin@intel.com>
Tested-by: Sergey Portnoy <sergey.portnoy@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_c3xxx')
0 files changed, 0 insertions, 0 deletions