Lines Matching defs:num
71 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
75 assert(num >= 0);
76 if (num <= 0) return(c1);
78 while (num&~3)
84 ap+=4; rp+=4; num-=4;
86 if (num)
88 mul_add(rp[0],ap[0],w,c1); if (--num==0) return c1;
89 mul_add(rp[1],ap[1],w,c1); if (--num==0) return c1;
96 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
100 assert(num >= 0);
101 if (num <= 0) return(c1);
103 while (num&~3)
109 ap+=4; rp+=4; num-=4;
111 if (num)
113 mul(rp[0],ap[0],w,c1); if (--num == 0) return c1;
114 mul(rp[1],ap[1],w,c1); if (--num == 0) return c1;
142 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
147 assert(num >= 0);
148 if (num <= 0) return((BN_ULONG)0);
156 if (--num == 0) break;
158 if (--num == 0) break;
160 if (--num == 0) break;
162 if (--num == 0) break;
169 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
174 assert(num >= 0);
175 if (num <= 0) return((BN_ULONG)0);
183 if (--num == 0) break;
185 if (--num == 0) break;
187 if (--num == 0) break;
189 if (--num == 0) break;