Home
last modified time | relevance | path

Searched refs:mp_mul (Results 1 – 19 of 19) sorted by relevance

/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
Dbn_mp_toom_mul.c75 if ((res = mp_mul(&a0, &b0, &w0)) != MP_OKAY) { in mp_toom_mul()
80 if ((res = mp_mul(&a2, &b2, &w4)) != MP_OKAY) { in mp_toom_mul()
111 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul()
142 if ((res = mp_mul(&tmp1, &tmp2, &w3)) != MP_OKAY) { in mp_toom_mul()
160 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) { in mp_toom_mul()
Dbn_mp_exteuclid.c46 if ((err = mp_mul(&v1, &q, &tmp)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
48 if ((err = mp_mul(&v2, &q, &tmp)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
50 if ((err = mp_mul(&v3, &q, &tmp)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
Dbn_mp_karatsuba_mul.c122 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY) in mp_karatsuba_mul()
124 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY) in mp_karatsuba_mul()
132 if (mp_mul (&t1, &x0, &t1) != MP_OKAY) in mp_karatsuba_mul()
Dbn_mp_lcm.c42 res = mp_mul(b, &t2, c); in mp_lcm()
48 res = mp_mul(a, &t2, c); in mp_lcm()
Dbn_s_mp_exptmod.c126 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) { in s_mp_exptmod()
201 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod()
229 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) { in s_mp_exptmod()
Dbn_mp_exptmod_fast.c187 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) { in mp_exptmod_fast()
256 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in mp_exptmod_fast()
285 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) { in mp_exptmod_fast()
Dbn_mp_mulmod.c30 if ((res = mp_mul (a, b, &t)) != MP_OKAY) { in mp_mulmod()
Dbn_mp_expt_d.c42 if ((res = mp_mul (c, &g, c)) != MP_OKAY) { in mp_expt_d()
Dbn_mp_reduce_2k_l.c41 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) { in mp_reduce_2k_l()
Dbn_mp_mul.c21 int mp_mul (mp_int * a, mp_int * b, mp_int * c) in mp_mul() function
Dbn_mp_reduce.c39 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) { in mp_reduce()
Dbn_mp_n_root.c74 if ((res = mp_mul (&t3, &t1, &t2)) != MP_OKAY) { in mp_n_root()
Dtommath.h323 int mp_mul(mp_int *a, mp_int *b, mp_int *c);
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
Drsa-ltm.c91 mp_mul(&t1, in, in); in blind()
100 mp_mul(out, bi, out); in unblind()
125 mp_mul(&u, iqmp, &u); in ltm_rsa_private_calculate()
129 mp_mul(&u, q, &u); in ltm_rsa_private_calculate()
573 mp_mul(&p, &q, &n); in ltm_rsa_generate_key()
578 mp_mul(&t1, &t2, &t3); in ltm_rsa_generate_key()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libbn/
Dbignum.c101 static int mp_mul(mp_int * a, mp_int * b, mp_int * c);
1920 if ((res = mp_mul(&a0, &b0, &w0)) != MP_OKAY) { in mp_toom_mul()
1925 if ((res = mp_mul(&a2, &b2, &w4)) != MP_OKAY) { in mp_toom_mul()
1956 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul()
1987 if ((res = mp_mul(&tmp1, &tmp2, &w3)) != MP_OKAY) { in mp_toom_mul()
2005 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) { in mp_toom_mul()
2233 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY) in mp_karatsuba_mul()
2235 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY) in mp_karatsuba_mul()
2243 if (mp_mul (&t1, &x0, &t1) != MP_OKAY) in mp_karatsuba_mul()
2444 mp_mul(mp_int * a, mp_int * b, mp_int * c) in mp_mul() function
[all …]
/netbsd/src/external/bsd/wpa/dist/src/tls/
Dlibtommath.c485 static int mp_mul (mp_int * a, mp_int * b, mp_int * c) in mp_mul() function
521 #error mp_mul could fail in mp_mul()
541 if ((res = mp_mul (a, b, &t)) != MP_OKAY) { in mp_mulmod()
1976 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) { in s_mp_exptmod()
2051 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod()
2079 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) { in s_mp_exptmod()
2161 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) { in mp_reduce_2k_l()
2265 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) { in mp_reduce()
3105 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) { in mp_exptmod_fast()
3174 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in mp_exptmod_fast()
[all …]
Dbignum.c179 if (mp_mul((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_mul()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
Drsa.c354 if ((err = mp_mul( p, q, key->N)) != CRYPT_OK) {
/netbsd/src/crypto/external/bsd/netpgp/dist/src/librsa/
Drsa.c354 if ((err = mp_mul( p, q, key->N)) != CRYPT_OK) {