diff options
| author | Gilad Ben-Yossef <[email protected]> | 2020-01-29 16:37:55 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-02-13 17:05:24 +0800 |
| commit | 504e84abec7a635b861afd8d7f92ecd13eaa2b09 (patch) | |
| tree | e3e818be6184e0242f2805b28d5dbf437d7ba5d1 /tools/perf/scripts/python | |
| parent | ce0fc6db38decf0d2919bfe783de6d6b76e421a9 (diff) | |
crypto: ccree - only try to map auth tag if needed
Make sure to only add the size of the auth tag to the source mapping
for encryption if it is an in-place operation. Failing to do this
previously caused us to try and map auth size len bytes from a NULL
mapping and crashing if both the cryptlen and assoclen are zero.
Reported-by: Geert Uytterhoeven <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Gilad Ben-Yossef <[email protected]>
Cc: [email protected] # v4.19+
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions