Home | History | Annotate | Download | only in bn

Lines Matching refs:np

847 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0p, int num)
857 if (ap==bp) return bn_sqr_mont(rp,ap,np,n0p,num);
902 mul_add(c1,np[0],ml,mh,c0);
904 mul_add(c1,ml,np[0],c0);
910 mul_add(c1,np[j],ml,mh,c0);
912 mul_add(c1,ml,np[j],c0);
921 if (tp[num]!=0 || tp[num-1]>=np[num-1])
923 c0 = bn_sub_words(rp,tp,np,num);
941 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num)
986 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0p, int num)
1003 c0 = bn_mul_add_words(tp,np,num,tp[0]*n0);
1010 if (tp[num]!=0 || tp[num-1]>=np[num-1])
1012 c0 = bn_sub_words(rp,tp,np,num);
1025 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num)