Assembly md4 algorithum.

Wojtek.Pilorz wpilorz at bdk.pl
Mon Nov 6 07:37:55 GMT 2006


On Sun, 5 Nov 2006, Wayne Davison wrote:

> Date: Sun, 5 Nov 2006 21:35:10 -0800
> From: Wayne Davison <wayned at samba.org>
> To: thomas david clarke <cam30724 at port.ac.uk>
> Cc: rsync at lists.samba.org
> Subject: Re: Assembly md4 algorithum.
> 
> On Mon, Nov 06, 2006 at 03:28:52AM +0000, thomas david  clarke wrote:
> > Would the asm md4 implementation used by Shareaza (under the GNU GPL)
> > be appropreate to use in order to accelerate rsync?
> 
> Since that would appear to compile with masm, we'd need a version that
> compiled with something more like gcc/gas.  Or perhaps the md4core.S
> file from the 1.5.12 release of Botan would be a better fit?  It would
> be interesting to be able to do a speed comparison to see if we could
> lower the CPU use in any kind of a significant way.
> 
> Something to keep in mind:  older versions of rsync had bugs in the MD4
> handling, so a new implementation would need to either duplicate the old
> bugs (based on the protocol_version) or rsync would have to drop support
> for anything prior to protocol 27 (which was first supported in 2.6.0).
Perhaps keep existing implementation and use it for old protocol;
for new protocol version use new source, standard MD4 compatible, either C 
or assembly.


> 
> ..wayne..
> 
Best regards,

Wojtek



More information about the rsync mailing list