Re: [v3 PATCH] crypto: wp512 - Use API partial block handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/20/25 2:15 PM, Herbert Xu wrote:
On Fri, Jun 20, 2025 at 10:52:49AM +0200, Milan Broz wrote:

It s still failing for me for that userspace crypt API.

OK I screwed up the final marker.  The old code always left a
zero byte in the buffer so the finalisation could simply or it
with 0x80.  With the new code, we need to set it to 0x80 explicitly
instead of oring.

---8<---
Use the Crypto API partial block handling.

Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Yes, we have a winner ;-) It works now, thanks!

Tested-by: Milan Broz <gmazyland@xxxxxxxxx>

I guess this will go to the next crypto update pull request.

Thanks,
Milan





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux