diff options
| author | Dominik Przychodni <[email protected]> | 2020-08-31 11:59:59 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-09-11 14:39:14 +1000 |
| commit | 45cb6653b0c355fc1445a8069ba78a4ce8720511 (patch) | |
| tree | d134ed6e3e18d13879708bcf82056134d924394b /tools/perf/scripts/python | |
| parent | 3ec25b43faa76e00ef2b42184e21c91c101939e6 (diff) | |
crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA
Return -EINVAL for authenc(hmac(sha1),cbc(aes)),
authenc(hmac(sha256),cbc(aes)) and authenc(hmac(sha512),cbc(aes))
if the cipher length is not multiple of the AES block.
This is to prevent an undefined device behaviour.
Fixes: d370cec32194 ("crypto: qat - Intel(R) QAT crypto interface")
Cc: <[email protected]>
Signed-off-by: Dominik Przychodni <[email protected]>
[[email protected]: reworded commit message]
Signed-off-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions