diff options
author | Eric Biggers <[email protected]> | 2018-10-02 22:22:15 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2018-10-08 13:47:02 +0800 |
commit | 7ff9036a62053995ff4bc7048dc176bdf9135d96 (patch) | |
tree | a4582f031118ea34465dd2383a7e0b07956a1333 /scripts/bpf_helpers_doc.py | |
parent | 52813ab249590595e43c8b03227adaa29ceceb33 (diff) |
crypto: arm64/aes - fix handling sub-block CTS-CBC inputs
In the new arm64 CTS-CBC implementation, return an error code rather
than crashing on inputs shorter than AES_BLOCK_SIZE bytes. Also set
cra_blocksize to AES_BLOCK_SIZE (like is done in the cts template) to
indicate the minimum input size.
Fixes: dd597fb33ff0 ("crypto: arm64/aes-blk - add support for CTS-CBC mode")
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions