Re: calculating an md4 and a signature at the same time?
[email protected] (Donovan Baarda) Mon, 19 Jan 2004 21:48:18 +1100
| Newsgroups | gmane.network.librsync.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jan 19, 2004 at 08:35:15AM +0100, David Helgason wrote: [...] > >As this is a fairly useful bit of functionality, it might make sense to > >add this to the rs_job object so you get an overall md4sum as well as > >the signature. > > I had the feeling that perhaps it would be possible to do it in one > pass though, thus save processing the data twice. But I don't really > know the definitions of these sums (looking at the code only helps me a > little here). [...] you can feed it the same data buffers as you go through it, avoiding re-reading the data again. In theory you might be able do an optimization that shared the rs_mdfour64 calculation results between the signature and an overall md4sum, but the coupling would be ugly for minimal gain. > >I'm happy to give you CVS commit permissions if you like. Just send me > >your SF user details and I will add you. Alternatively you can submit > >patches on SF and someone (probably me) will commit them to CVS for > >you. > > I'll see what I can do. The cvs seems to be changed very little. Are > there btw any bugs in librsync that I should be aware of? All the known bugs are in the SF bugtracker. Currently, bugs fixed in a release are closed, bugs fixed in CVS are open with resolution "fixed". If you find any more bugs, please report them on SF. -- ---------------------------------------------------------------- Donovan Baarda http://minkirri.apana.org.au/~abo/ ---------------------------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn