Searched refs:mp_sub_d (Results 1 - 18 of 18) sorted by relevance

/barrelfish-2018-10-04/lib/tommath/etc/
H A D2kprime.c27 mp_sub_d(&q, 4, &q);
48 mp_sub_d(&q, 1, &p);
H A Dmersenne.c28 if ((res = mp_sub_d (&n, 1, &n)) != MP_OKAY) {
41 if ((res = mp_sub_d (&u, 2, &u)) != MP_OKAY) {
H A Ddrprime.c37 mp_sub_d(&a, 1, &b);
H A Dpprime.c342 mp_sub_d (&n, 1, q);
/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_prime_next_prime.c84 if ((err = mp_sub_d(a, (a->dp[0] & 3) + 1, a)) != MP_OKAY) { return err; };
89 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) {
H A Dbn_mp_add_d.c38 res = mp_sub_d(a, b, c);
H A Dbn_mp_prime_miller_rabin.c42 if ((err = mp_sub_d (&n1, 1, &n1)) != MP_OKAY) {
H A Dbn_mp_sub_d.c20 mp_sub_d (mp_int * a, mp_digit b, mp_int * c) function
H A Dbn_mp_n_root.c104 if ((res = mp_sub_d (&t1, 1, &t1)) != MP_OKAY) {
H A Dbn_mp_prime_random_ex.c99 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) { goto error; }
H A Dtommath.h337 int mp_sub_d(mp_int *a, mp_digit b, mp_int *c);
H A Dbn.tex1823 int mp_sub_d(mp_int *a, mp_digit b, mp_int *c);
/barrelfish-2018-10-04/lib/tommath/demo/
H A Dtiming.c251 mp_sub_d(&a, 1, &c);
263 mp_sub_d(&a, 1, &e);
H A Ddemo.c210 mp_sub_d(&a, 1, &a);
257 mp_sub_d(&a, 2, &a); /* a = 2**cnt - 2 */
723 mp_sub_d(&a, ix, &c);
/barrelfish-2018-10-04/lib/tommath/mtest/
H A Dmpi.h108 mp_err mp_sub_d(mp_int *a, mp_digit d, mp_int *b);
H A Dmtest.c97 mp_sub_d(&a, 1, &a);
294 mp_sub_d(&a, tmp, &b);
H A Dmpi.c562 /* {{{ mp_sub_d(a, d, b) */
565 mp_sub_d(a, d, b)
571 mp_err mp_sub_d(mp_int *a, mp_digit d, mp_int *b) function
600 } /* end mp_sub_d() */
1505 mp_sub_d(&x, 1, &x);
/barrelfish-2018-10-04/lib/tommath/pre_gen/
H A Dmpi.c905 res = mp_sub_d(a, b, c);
5396 if ((res = mp_sub_d (&t1, 1, &t1)) != MP_OKAY) {
5775 if ((err = mp_sub_d (&n1, 1, &n1)) != MP_OKAY) {
5924 if ((err = mp_sub_d(a, (a->dp[0] & 3) + 1, a)) != MP_OKAY) { return err; };
5929 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) {
6170 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) { goto error; }
7548 mp_sub_d (mp_int * a, mp_digit b, mp_int * c) function

Completed in 92 milliseconds