diff options
author | Herbert Xu <[email protected]> | 2023-03-11 17:09:15 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2023-03-17 11:16:44 +0800 |
commit | 32e55d0333daf4d2bfee8e4df75134312d6d3845 (patch) | |
tree | 5f8c3802f78e9ec19a0394b14f7320310982ef17 /drivers/fpga/tests/fpga-mgr-test.c | |
parent | 34f39da79b49fd52f615e92751a6a64e67ef934a (diff) |
crypto: stm32 - Simplify finup
The current finup code is unnecessarily convoluted. There is no
need to call update and final separately as update already does
all the necessary work on its own.
Simplify this by utilising the HASH_FLAGS_FINUP bit in rctx to
indicate only finup and use the HASH_FLAGS_FINAL bit instead to
signify processing common to both final and finup.
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