hi Howard,
i sent mails there also meanwhile can you tell me how to omtimize the code.
It looks like the following currently, can we change it to make it faster.

BN_ULONG bn_mul_add_words(rp,ap,num,w)
BN_ULONG *rp,*ap;
int num;
BN_ULONG w;
        {
        BN_ULONG c1=0;

        for (;;)
                {
                mul_add(rp[0],ap[0],w,c1);
                if (--num == 0) break;
#ifndef ISI_TINY
                mul_add(rp[1],ap[1],w,c1);
                if (--num == 0) break;
                mul_add(rp[2],ap[2],w,c1);
                if (--num == 0) break;
                mul_add(rp[3],ap[3],w,c1);
                if (--num == 0) break;
                ap+=4;
                rp+=4;
#else /* ISI_TINY */
                ap+=1;
                rp+=1;
#endif /* ISI_TINY */
                }

        return(c1);
        }


Thanks,
Samrat Saha

On Tue, Sep 2, 2008 at 2:36 PM, Howard Chu <[EMAIL PROTECTED]> wrote:

> Nelson B Bolyard wrote:
> > Julien R Pierre - Sun Microsystems wrote, On 2008-08-29 14:47:
> >> Samrat,
> >>
> >> Where are you pulling those symbols from ?
> >> They are not part of NSS .
> >
> > Julien and Samrat:
> >
> > The bn_ symbols shown below are from OpenSSL's bignum library
> > (bn = bignum).  This newsgroup/mailing list is not the right place
> > for OpenSSL questions.  There aren't any OpenSSL experts here.
>
> Well... I wrote the M68K assembly implementation of OpenSSL's bignum
> library.
> So yes, there are OpenSSL experts here. But yes, the OpenSSL mailing lists
> are
> certainly a better forum for this question...
>
> --
>   -- Howard Chu
>   CTO, Symas Corp.           http://www.symas.com
>   Director, Highland Sun     http://highlandsun.com/hyc/
>   Chief Architect, OpenLDAP  http://www.openldap.org/project/
> _______________________________________________
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to