Searched refs:mp_mul (Results 1 - 25 of 26) sorted by relevance

12

/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_lcm.c42 res = mp_mul(b, &t2, c);
48 res = mp_mul(a, &t2, c);
H A Dbn_mp_mulmod.c30 if ((res = mp_mul (a, b, &t)) != MP_OKAY) {
H A Dbn_mp_expt_d.c42 if ((res = mp_mul (c, &g, c)) != MP_OKAY) {
H A Dbn_mp_exteuclid.c46 if ((err = mp_mul(&v1, &q, &tmp)) != MP_OKAY) { goto _ERR; }
48 if ((err = mp_mul(&v2, &q, &tmp)) != MP_OKAY) { goto _ERR; }
50 if ((err = mp_mul(&v3, &q, &tmp)) != MP_OKAY) { goto _ERR; }
H A Dbn_mp_karatsuba_mul.c41 * are saved. Note also that the call to mp_mul can end up back
122 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY)
124 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY)
132 if (mp_mul (&t1, &x0, &t1) != MP_OKAY)
H A Dbn_mp_mul.c21 int mp_mul (mp_int * a, mp_int * b, mp_int * c) function
H A Dbn_mp_reduce_2k_l.c41 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) {
H A Dbn_mp_toom_mul.c75 if ((res = mp_mul(&a0, &b0, &w0)) != MP_OKAY) {
80 if ((res = mp_mul(&a2, &b2, &w4)) != MP_OKAY) {
111 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) {
142 if ((res = mp_mul(&tmp1, &tmp2, &w3)) != MP_OKAY) {
160 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) {
H A Dbn_s_mp_exptmod.c126 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) {
201 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) {
229 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) {
H A Dbn_mp_reduce.c39 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) {
H A Dbn_mp_n_root.c74 if ((res = mp_mul (&t3, &t1, &t2)) != MP_OKAY) {
H A Dbn_mp_exptmod_fast.c187 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) {
256 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) {
285 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) {
H A Dtommath.h323 int mp_mul(mp_int *a, mp_int *b, mp_int *c);
H A Dbn.tex361 mp_mul(&a, &a, &c); /* c = a * a */
1155 int mp_mul (mp_int * a, mp_int * b, mp_int * c);
1193 if ((result = mp_mul(&number1, &number2,
1354 if ((result = mp_mul(&a, &c, &c)) != MP_OKAY) \{
1461 if ((result = mp_mul(&a, &c, &c)) != MP_OKAY) \{
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/etc/
H A Dmont.c30 mp_mul(&p, &R, &pp); /* pp = R * p */
H A Dtune.c80 mp_mul(&a,&b,&c);
H A Dpprime.c240 if ((res = mp_mul (&a, &b, &z)) != MP_OKAY) { /* z = a * b */
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drsa-ltm.c95 mp_mul(&t1, in, in);
104 mp_mul(out, bi, out);
129 mp_mul(&u, iqmp, &u);
133 mp_mul(&u, q, &u);
565 mp_mul(&p, &q, &n);
570 mp_mul(&t1, &t2, &t3);
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/
H A Dbignum.c185 if (mp_mul((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) {
H A Dlibtommath.c480 static int mp_mul (mp_int * a, mp_int * b, mp_int * c) function
516 #error mp_mul could fail
536 if ((res = mp_mul (a, b, &t)) != MP_OKAY) {
1969 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) {
2044 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) {
2072 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) {
2154 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) {
2258 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) {
3093 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) {
3162 if ((err = mp_mul (
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/mtest/
H A Dmpi.h128 mp_err mp_mul(mp_int *a, mp_int *b, mp_int *c);
133 #define mp_sqr(a, b) mp_mul(a, a, b)
H A Dmtest.c90 mp_mul(&a, &a, &c);
150 mp_mul(&a, &b, &c);
H A Dmpi.c1043 /* {{{ mp_mul(a, b, c) */
1046 mp_mul(a, b, c)
1051 mp_err mp_mul(mp_int *a, mp_int *b, mp_int *c) function
1079 } /* end mp_mul() */
1105 } /* end mp_mul() */
1591 if((res = mp_mul(a, b, c)) != MP_OKAY)
1999 res = mp_mul(&u, &v, c); /* c = u * v */
2036 if((res = mp_mul(a, b, &prod)) != MP_OKAY)
2159 if((res = mp_mul(&gx, &v, g)) != MP_OKAY) goto CLEANUP;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/demo/
H A Dtiming.c172 DO(mp_mul(&a, &b, &c));
H A Ddemo.c545 mp_mul(&d, &b, &d);

Completed in 207 milliseconds

12