Re: [PATCH] crypto: s390/sha3 - Use cpu byte-order when exporting

Herbert Xu
2025-05-23T12:56:26Z

On Fri, May 23, 2025 at 02:54:26PM +0200, Ingo Franzki wrote:
>
> All seems OK, unless that you always set first_message_part to zero at import. So even if an initial state was exported, after an import first_message_part is off. Previous code did retain the stat of the first_message_part field in the exported state as well.
> OK, one can argue that this loss of performance improvement is negligible for a saved initial state situation.....

Yes we have to set it to zero after an import because the import
could've come from the generic sha3.

Cheers,