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, Oct 21, 2:52 AM
Unknown Object (File)
Sun, Oct 20, 5:50 PM
Unknown Object (File)
Sun, Oct 20, 5:50 PM
Unknown Object (File)
Sun, Oct 20, 5:50 PM
Unknown Object (File)
Oct 3 2024, 10:52 PM
Unknown Object (File)
Oct 3 2024, 1:24 AM
Unknown Object (File)
Oct 2 2024, 11:13 PM
Unknown Object (File)
Oct 2 2024, 10:19 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.