diff options
| author | Ovidiu Panait <[email protected]> | 2023-12-01 19:06:21 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-12-08 11:59:45 +0800 |
| commit | afffcf3db98b9495114b79d5381f8cc3f69476fb (patch) | |
| tree | 04ade7105e27d17074aaa65dadbfe04d8ea62de2 /tools/perf/scripts/python/bin | |
| parent | 9f10bc28c0fb676ae58aa3bfa358db8f5de124bb (diff) | |
crypto: sahara - fix ahash selftest failure
update() calls should not modify the result buffer, so add an additional
check for "rctx->last" to make sure that only the final hash value is
copied into the buffer.
Fixes the following selftest failure:
alg: ahash: sahara-sha256 update() used result buffer on test vector 3,
cfg="init+update+final aligned buffer"
Fixes: 5a2bb93f5992 ("crypto: sahara - add support for SHA1/256")
Signed-off-by: Ovidiu Panait <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions