On Mon, Mar 6, 2023 at 5:42 AM Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > 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. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> This "v5.5 version" indeed works! Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Tested-by: Linus Walleij <linus.walleij@xxxxxxxxxx> I had to pick the patch manually because Konstantin's b4 tool got completely confused by the version numbering and picked the old v5, but once I got the right one, all worked fine! Yours, Linus Walleij