Re: Mozilla SHA1 implementation

2005-04-22 Thread Paul Mackerras
Linus Torvalds writes: I've just integrated the Mozilla SHA1 library implementation that Adgar Toernig sent me into the standard git archive (but I did the integration differently). Here is a new PPC SHA1 patch that integrates better with this... Interestingly, the Mozilla SHA1 code is

Re: Mozilla SHA1 implementation

2005-04-22 Thread Paul Mackerras
Linus Torvalds writes: Interestingly, the Mozilla SHA1 code is about twice as fast as the openssl code on my G5, and judging by the disassembly, it's because it's much simpler. I think the openssl people have unrolled all the loops totally, which tends to be a disaster on any half-way modern

Mozilla SHA1 implementation

2005-04-21 Thread Linus Torvalds
uses it in the GPL version, but I left the MPL choice there too, so that those two files (that are in a subdirectory of its own) will continue to be dual-licensed. NOTE! I left git using the openssl libraries by default, and this is a built-time choice in the makefile. You can choose the Mozilla SHA1

Re: Mozilla SHA1 implementation

2005-04-21 Thread Edgar Toernig
Linus Torvalds wrote: I've just integrated the Mozilla SHA1 library implementation into the standard git archive Thanks. In the mood for another compatibility hack? My zlib doesn't have deflateBound and browsing through the git-ml archive it seems I'm not the only one. How about putting