Go to the documentation of this file.
67 int a_neg = a->
neg, ret;
81 { tmp=
a; a=
b; b=tmp; }
108 BN_ULONG *ap,*
bp,*rp,carry,t1,t2;
115 { tmp=
a; a=
b; b=tmp; }
141 t2 = (t1+1) & BN_MASK2;
169 register BN_ULONG t1,t2,*ap,*
bp,*rp;
171 #if defined(IRIX_CC_BUG) && !defined(LINT)
196 for (i = min; i != 0; i--)
203 t1=(t1-t2-1)&BN_MASK2;
210 #if defined(IRIX_CC_BUG) && !defined(LINT)
230 t2 = (t1-1)&BN_MASK2;
237 memcpy(rp,ap,
sizeof(*rp)*(max-i));
280 { tmp=
a; a=
b; b=tmp; }
286 if (b->
neg) { add=1; neg=0; }
291 if (!
BN_uadd(r,a,b))
return(0);
302 if (!
BN_usub(r,b,a))
return(0);
307 if (!
BN_usub(r,a,b))
return(0);