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, Sep 11, 1:34 PM
Unknown Object (File)
Sun, Aug 27, 2:47 PM
Unknown Object (File)
Jul 31 2023, 8:16 PM
Unknown Object (File)
Jul 27 2023, 2:43 PM
Unknown Object (File)
Jul 14 2023, 6:09 PM
Unknown Object (File)
Jul 11 2023, 7:15 PM
Unknown Object (File)
Jul 11 2023, 7:14 PM
Unknown Object (File)
Jul 11 2023, 7:14 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.