diff options
author | Ard Biesheuvel <[email protected]> | 2019-11-09 18:09:27 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2019-11-17 09:02:45 +0800 |
commit | 19c5da7d4a2662e85ea67d2d81df57e038fde3ab (patch) | |
tree | 1d2b82bd2c034fe76663541a7f71cf5ff2f33f73 /scripts/gdb/linux/utils.py | |
parent | 500e6807ce93b1fdc7d5b827c5cc167cc35630db (diff) |
crypto: virtio - deal with unsupported input sizes
Return -EINVAL for input sizes that are not a multiple of the AES
block size, since they are not supported by our CBC chaining mode.
While at it, remove the pr_err() that reports unsupported key sizes
being used: we shouldn't spam the kernel log with that.
Fixes: dbaf0624ffa5 ("crypto: add virtio-crypto driver")
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Gonglei <[email protected]>
Cc: [email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions