aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2023-03-11 17:09:23 +0800
committerHerbert Xu <[email protected]>2023-03-17 11:16:44 +0800
commit9fa4298a95ec42cb63dc5aaf2a8656bb23adf280 (patch)
tree35600bc2069364e371e7f3afb9fda46c0f69f785 /drivers/fpga/tests/fpga-mgr-test.c
parent0280261f1f253d641bbd953247acfcfcad772e33 (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 <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Tested-by: Linus Walleij <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions