Searched refs:BN_ERRCHECK (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libmp/ |
H A D | mpasbn.c | 89 #define BN_ERRCHECK(msg, expr) do { \ macro 135 BN_ERRCHECK(msg, BN_dec2bn(&mp->bn, s)); in _dtom() 154 BN_ERRCHECK("gcd", BN_gcd(b, mp1->bn, mp2->bn, c)); in mp_gcd() 195 BN_ERRCHECK(msg, BN_add(b, mp1->bn, mp2->bn)); in _madd() 242 BN_ERRCHECK(msg, BN_div(q, r, nmp->bn, dmp->bn, c)); in _mdiv() 340 BN_ERRCHECK(msg, BN_copy(tmp->bn, sbp)); in _moveb() 350 BN_ERRCHECK(msg, BN_copy(tmp->bn, smp->bn)); in _movem() 416 BN_ERRCHECK(msg, BN_sub(b, mp1->bn, mp2->bn)); in _msub() 497 BN_ERRCHECK(msg, BN_mul(b, mp1->bn, mp2->bn, c)); in _mult() 530 BN_ERRCHECK("pow", BN_mod_exp(b, bmp->bn, emp->bn, mmp->bn, c)); in mp_pow() [all …]
|