FYI - This patch doesn't appear in the source for 0.9.7a that I just downloaded. My guess is the patch would offset the cost somewhat of blinding.......Recalculating Ri is expensive :)
-david On Tue, 2003-02-04 at 13:57, Geoff Thorpe via RT wrote: > > [EMAIL PROTECTED] - Tue Feb 4 18:36:33 2003]: > > > Attached is my patch to openssl 0.9.7. This message is CC'ed to the > > appropriate US gov't parties. > > OK. Thanks David for sorting out the US obligations, and for bringing > the missing _method_mod_n initialisation to our attention. > > I've attached an alternative diff to yours - it includes your changes > verbatim, but wraps up all _method_mod_<whatever> initialisations with > macro-wrappers to a helper function and "#if 0"'s out the existing code > (including your additional one). BTW: This buys about 1.5% speed-up for > RSA private key ops on my desktop which is of course better than a kick > in the pants :-) Thanks again. I'll let this patch linger for a day or > two in case anyone wants to sanity-check first. > > BTW: the patch is for the head of CVS but should apply to 0.9.7 with an > offset of 3 lines or so, though I haven't tried (migrating your original > patch the other direction worked in this fashion, however). > > -- > Geoff Thorpe, RT/openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]