Displaying 2 results from an estimated 2 matches for "test_mdfour".
Did you mean:
get_mdfour
2004 Nov 04
0
[Bug 2000] New: mdfour.c calculates wrong result when block is a multiple of 64 bytes long.
...ortedBy: cph@moria.org.uk
QAContact: rsync-qa@samba.org
Purely technical, but it looks like lib/mdfour.c gets the MD4 checksum wrong
when the block is an exact multiple of 64 - it never calls mdfour_tail, so the
message length is not added to the checksummed data. Compiling mdfour.c with
TEST_MDFOUR and comparing the hashes with the output of openssl md4 on a 64 byte
file shows the bug easily.
Since rsync doesn't require the cryptographic strength of md4 anyway, perhaps it
simply doesn't matter - but it would be good for the file to carry a comment
saying that it is not MD4, if that i...
2005 Jan 10
0
[Bug 2000] mdfour.c calculates wrong result when block is a multiple of 64 bytes long.
...de into checksum.c directly. However, the
test function in mdfour.c was not updated to reflect this fix, so it continued
to output the bogus MD4 checksums that were sent for older protocol versions.
I checked-in a fix for the debug function in mdfour.c so that it will output the
right values when TEST_MDFOUR is defined.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.