reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
564 CHECK(a != NULL && b != NULL && c != NULL); 566 ua = MP_USED(a); ub = MP_USED(b); uc = MP_USED(c); 573 if (!s_pad(c, max)) 576 carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub); 580 if (!s_pad(c, max + 1)) 583 c->digits[max] = carry; 587 MP_USED(c) = uc; 588 MP_SIGN(c) = MP_SIGN(a); 600 mp_int_zero(c); 610 if (!s_pad(c, MP_USED(x))) 614 s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y)); 615 MP_USED(c) = MP_USED(x); 616 CLAMP(c); 619 MP_SIGN(c) = MP_SIGN(x);