David Brumley wrote:
> 
> Hello,
> I've been looking through the NSS code, but it looks like there is a
> steep learning curve to understand exactly what's going on.

I received this same inquiry by email, and replied to it that way.
My reply here will be shorter.

>  From what I can tell, RSA is implemented with CRT.  Also, modular
> exponentation can be done with montgomery multiplication. However, I
> can't tell what the defaults are.
> 
> I'm try to figure out if:
>   - CRT is the default

If the private key contains the necessary components to facilitate CRT,
then NSS uses CRT.  If not, NSS doesn't.

>   - Montgomery multiplication is the default

Not merely the default.  It is always used for RSA.

>   - If blinding is enabled (I see code for it, but can't find it being used)

It _should_ be being used for all private key ops.   
If it's not, that's a regression.

> Any hints for finding out the answers, or the answers themselves, are
> much appreciated!
> 
> Thanks,
> david


--
Nelson Bolyard            
Disclaimer:                  I speak for myself, not for Netscape

Reply via email to