aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOvidiu Panait <[email protected]>2023-12-01 19:06:19 +0200
committerHerbert Xu <[email protected]>2023-12-08 11:59:45 +0800
commit8fd183435728b139248a77978ea3732039341779 (patch)
tree0d0e75e5db3ed628e7e674abaf31ad7c4f4dda98 /tools/perf/scripts/python
parent87e02063d07708cac5bfe9fd3a6a242898758ac8 (diff)
crypto: sahara - remove FLAGS_NEW_KEY logic
Remove the FLAGS_NEW_KEY logic as it has the following issues: - the wrong key may end up being used when there are multiple data streams: t1 t2 setkey() encrypt() setkey() encrypt() encrypt() <--- key from t2 is used - switching between encryption and decryption with the same key is not possible, as the hdr flags are only updated when a new setkey() is performed With this change, the key is always sent along with the cryptdata when performing encryption/decryption operations. Fixes: 5de8875281e1 ("crypto: sahara - Add driver for SAHARA2 accelerator.") Signed-off-by: Ovidiu Panait <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions