Home
last modified time | relevance | path

Searched refs:mp_mod_2d (Results 1 – 8 of 8) sorted by relevance

/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
Dbn_mp_toom_mul.c43 if ((res = mp_mod_2d(a, DIGIT_BIT * B, &a0)) != MP_OKAY) { in mp_toom_mul()
51 mp_mod_2d(&a1, DIGIT_BIT * B, &a1); in mp_toom_mul()
59 if ((res = mp_mod_2d(b, DIGIT_BIT * B, &b0)) != MP_OKAY) { in mp_toom_mul()
67 mp_mod_2d(&b1, DIGIT_BIT * B, &b1); in mp_toom_mul()
Dbn_mp_toom_sqr.c36 if ((res = mp_mod_2d(a, DIGIT_BIT * B, &a0)) != MP_OKAY) { in mp_toom_sqr()
44 mp_mod_2d(&a1, DIGIT_BIT * B, &a1); in mp_toom_sqr()
Dbn_mp_mod_2d.c22 mp_mod_2d (mp_int * a, int b, mp_int * c) in mp_mod_2d() function
Dbn_mp_div_2d.c43 if ((res = mp_mod_2d (a, b, &t)) != MP_OKAY) { in mp_div_2d()
Dbn_mp_reduce.c63 if ((res = mp_mod_2d (x, DIGIT_BIT * (um + 1), x)) != MP_OKAY) { in mp_reduce()
Dtommath.h279 int mp_mod_2d(mp_int *a, int b, mp_int *c);
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libbn/
Dbignum.c939 mp_mod_2d (const mp_int * a, int b, mp_int * c) in mp_mod_2d() function
994 if ((res = mp_mod_2d (a, b, &t)) != MP_OKAY) { in mp_div_2d()
1888 if ((res = mp_mod_2d(a, DIGIT_BIT * B, &a0)) != MP_OKAY) { in mp_toom_mul()
1896 mp_mod_2d(&a1, DIGIT_BIT * B, &a1); in mp_toom_mul()
1904 if ((res = mp_mod_2d(b, DIGIT_BIT * B, &b0)) != MP_OKAY) { in mp_toom_mul()
1912 mp_mod_2d(&b1, DIGIT_BIT * B, &b1); in mp_toom_mul()
2655 if ((res = mp_mod_2d (x, DIGIT_BIT * (um + 1), x)) != MP_OKAY) { in mp_reduce()
2779 if ((res = mp_mod_2d(a, DIGIT_BIT * B, &a0)) != MP_OKAY) { in mp_toom_sqr()
2787 mp_mod_2d(&a1, DIGIT_BIT * B, &a1); in mp_toom_sqr()
/netbsd/src/external/bsd/wpa/dist/src/tls/
Dlibtommath.c153 static int mp_mod_2d(mp_int * a, int b, mp_int * c);
1039 if ((res = mp_mod_2d (a, b, &t)) != MP_OKAY) { in mp_div_2d()
1565 static int mp_mod_2d (mp_int * a, int b, mp_int * c) in mp_mod_2d() function
2290 if ((res = mp_mod_2d (x, DIGIT_BIT * (um + 1), x)) != MP_OKAY) { in mp_reduce()