diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-11 17:09:23 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-17 11:16:44 +0800 |
commit | 9fa4298a95ec42cb63dc5aaf2a8656bb23adf280 (patch) | |
tree | 35600bc2069364e371e7f3afb9fda46c0f69f785 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0280261f1f253d641bbd953247acfcfcad772e33 (diff) |
crypto: stm32 - Fix empty message processing
Change the emptymsg check in stm32_hash_copy_hash to rely on whether
we have any existing hash state, rather than whether this particular
update request is empty.
Also avoid computing the hash for empty messages as this could hang.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions