Home
last modified time | relevance | path

Searched refs:mp_div_2d (Results 1 – 12 of 12) sorted by relevance

/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
Dbn_mp_gcd.c53 if ((res = mp_div_2d(&u, k, &u, NULL)) != MP_OKAY) { in mp_gcd()
57 if ((res = mp_div_2d(&v, k, &v, NULL)) != MP_OKAY) { in mp_gcd()
64 if ((res = mp_div_2d(&u, u_lsb - k, &u, NULL)) != MP_OKAY) { in mp_gcd()
70 if ((res = mp_div_2d(&v, v_lsb - k, &v, NULL)) != MP_OKAY) { in mp_gcd()
88 if ((res = mp_div_2d(&v, mp_cnt_lsb(&v), &v, NULL)) != MP_OKAY) { in mp_gcd()
Dbn_mp_div.c68 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) || in mp_div()
69 ((res = mp_div_2d(&tq, 1, &tq, NULL)) != MP_OKAY)) { in mp_div()
274 mp_div_2d (&x, norm, &x, NULL); in mp_div()
Dbn_mp_to_unsigned_bin.c37 if ((res = mp_div_2d (&t, 8, &t, NULL)) != MP_OKAY) { in mp_to_unsigned_bin()
Dbn_mp_reduce_2k_l.c36 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k_l()
Dbn_mp_reduce_2k.c33 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k()
Dbn_mp_jacobi.c60 if ((res = mp_div_2d(&a1, k, &a1, NULL)) != MP_OKAY) { in mp_jacobi()
Dbn_mp_prime_miller_rabin.c59 if ((err = mp_div_2d (&r, s, &r, NULL)) != MP_OKAY) { in mp_prime_miller_rabin()
Dbn_mp_div_2d.c21 int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d() function
Dbn_mp_div_d.c68 return mp_div_2d(a, ix, c, NULL); in mp_div_d()
Dtommath.h267 int mp_div_2d(mp_int *a, int b, mp_int *c, mp_int *d);
/netbsd/src/external/bsd/wpa/dist/src/tls/
Dlibtommath.c154 static int mp_div_2d(mp_int * a, int b, mp_int * c, mp_int * d);
1005 if ((res = mp_div_2d (&t, 8, &t, NULL)) != MP_OKAY) { in mp_to_unsigned_bin()
1017 static int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d() function
1646 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) || in mp_div()
1647 ((res = mp_div_2d(&tq, 1, &tq, NULL)) != MP_OKAY)) { in mp_div()
1852 mp_div_2d (&x, norm, &x, NULL); in mp_div()
2156 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k_l()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libbn/
Dbignum.c972 static int mp_div_2d (const mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d() function
1230 mp_div_2d (&x, norm, &x, NULL); in mp_div()
2735 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k_l()
4015 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k()
4490 return mp_div_2d(a, ix, c, NULL); in mp_div_d()
4855 if ((err = mp_div_2d (&r, s, &r, NULL)) != MP_OKAY) { in mp_prime_miller_rabin()
5222 if (mp_div_2d (&t, 8, &t, NULL) != MP_OKAY) { in BN_bn2bin()