diff options
| author | Eric Biggers <[email protected]> | 2019-01-06 19:07:20 -0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-01-18 18:40:24 +0800 |
| commit | 41a2e94f8157ab52ab36805cfd56cc8dbd08dd39 (patch) | |
| tree | 7eabd787fabeef3ef189b6ff28a8787ef082ff91 /tools/perf/scripts/python/bin | |
| parent | 6ebc97006b196aafa9df0497fdfa866cf26f259b (diff) | |
crypto: shash - require neither or both ->export() and ->import()
Prevent registering shash algorithms that implement ->export() but not
->import(), or ->import() but not ->export(). Such cases don't make
sense and could confuse the check that shash_prepare_alg() does for just
->export().
I don't believe this affects any existing algorithms; this is just
preventing future mistakes.
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions