Page MenuHomeFreeBSD

sha512_224: Fix SHA512_224_Final() on little-endian machines.
ClosedPublic

Authored by des on Feb 3 2023, 3:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 7:31 AM
Unknown Object (File)
Mon, Dec 2, 7:14 AM
Unknown Object (File)
Thu, Nov 21, 8:16 AM
Unknown Object (File)
Fri, Nov 8, 2:42 PM
Unknown Object (File)
Oct 21 2024, 2:52 AM
Unknown Object (File)
Oct 20 2024, 5:50 PM
Unknown Object (File)
Oct 20 2024, 5:50 PM
Unknown Object (File)
Oct 20 2024, 5:50 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Feb 3 2023, 3:21 PM

Note that I intended to add assertions to be64enc_vect() and be64dec_vect(), but since the same code is used both in the kernel and in user space, it would have been needlessly complicated.

You're going to be adding test cases for this in libmd, right?

This revision is now accepted and ready to land.Feb 4 2023, 2:43 PM

You're going to be adding test cases for this in libmd, right?

Yes, see D38373. That's how I found the bug.