diff options
| author | Gilad Ben-Yossef <[email protected]> | 2018-07-01 08:02:36 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-07-09 00:33:35 +0800 |
| commit | 00904aa0cd59a36d659ec93d272309e2174bcb5b (patch) | |
| tree | e9db016f31f8ff59174057779d4fb88326bc771c /tools/perf/scripts/python/bin | |
| parent | 76715095933b3a2e6082e171bc82ecd90baf9af0 (diff) | |
crypto: ccree - fix iv handling
We were copying our last cipher block into the request for use as IV for
all modes of operations. Fix this by discerning the behaviour based on
the mode of operation used: copy ciphertext for CBC, update counter for
CTR.
CC: [email protected]
Fixes: 63ee04c8b491 ("crypto: ccree - add skcipher support")
Reported by: Hadar Gat <[email protected]>
Signed-off-by: Gilad Ben-Yossef <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions