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

12

/external/dropbear/libtommath/
H A Dbn_mp_lcm.c40 res = mp_mul(b, &t2, c);
46 res = mp_mul(a, &t2, c);
H A Dbn_mp_mulmod.c28 if ((res = mp_mul (a, b, &t)) != MP_OKAY) {
H A Dbn_mp_expt_d.c40 if ((res = mp_mul (c, &g, c)) != MP_OKAY) {
H A Dbn_mp_exteuclid.c44 if ((err = mp_mul(&v1, &q, &tmp)) != MP_OKAY) { goto _ERR; }
46 if ((err = mp_mul(&v2, &q, &tmp)) != MP_OKAY) { goto _ERR; }
48 if ((err = mp_mul(&v3, &q, &tmp)) != MP_OKAY) { goto _ERR; }
H A Dbn_mp_karatsuba_mul.c39 * are saved. Note also that the call to mp_mul can end up back
120 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY)
122 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY)
130 if (mp_mul (&t1, &x0, &t1) != MP_OKAY)
H A Dbn_mp_mul.c19 int mp_mul (mp_int * a, mp_int * b, mp_int * c) function
H A Dbn_mp_reduce_2k_l.c39 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) {
H A Dbn_mp_toom_mul.c73 if ((res = mp_mul(&a0, &b0, &w0)) != MP_OKAY) {
78 if ((res = mp_mul(&a2, &b2, &w4)) != MP_OKAY) {
109 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) {
140 if ((res = mp_mul(&tmp1, &tmp2, &w3)) != MP_OKAY) {
158 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) {
H A Dbn_s_mp_exptmod.c124 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) {
199 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) {
227 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) {
H A Dbn_mp_reduce.c37 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) {
H A Dbn_mp_n_root.c72 if ((res = mp_mul (&t3, &t1, &t2)) != MP_OKAY) {
H A Dbn_mp_exptmod_fast.c185 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) {
254 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) {
283 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) {
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Dltc_ecc_map.c55 if ((err = mp_mul(t1, t2, t1)) != CRYPT_OK) { goto done; }
59 if ((err = mp_mul(P->x, t2, P->x)) != CRYPT_OK) { goto done; }
61 if ((err = mp_mul(P->y, t1, P->y)) != CRYPT_OK) { goto done; }
H A Dltc_ecc_projective_add_point.c70 if ((err = mp_mul(t1, x, x)) != CRYPT_OK) { goto done; }
73 if ((err = mp_mul(Q->z, t1, t1)) != CRYPT_OK) { goto done; }
76 if ((err = mp_mul(t1, y, y)) != CRYPT_OK) { goto done; }
84 if ((err = mp_mul(Q->x, t1, t2)) != CRYPT_OK) { goto done; }
87 if ((err = mp_mul(z, t1, t1)) != CRYPT_OK) { goto done; }
90 if ((err = mp_mul(Q->y, t1, t1)) != CRYPT_OK) { goto done; }
127 if ((err = mp_mul(z, Q->z, z)) != CRYPT_OK) { goto done; }
132 if ((err = mp_mul(z, x, z)) != CRYPT_OK) { goto done; }
136 if ((err = mp_mul(t1, x, t1)) != CRYPT_OK) { goto done; }
142 if ((err = mp_mul(t
[all...]
H A Dltc_ecc_projective_dbl_point.c58 if ((err = mp_mul(R->z, R->y, R->z)) != CRYPT_OK) { goto done; }
77 if ((err = mp_mul(t1, t2, t2)) != CRYPT_OK) { goto done; }
107 if ((err = mp_mul(R->y, R->x, R->y)) != CRYPT_OK) { goto done; }
130 if ((err = mp_mul(R->y, t1, R->y)) != CRYPT_OK) { goto done; }
/external/dropbear/libtommath/etc/
H A Dmont.c28 mp_mul(&p, &R, &pp); /* pp = R * p */
H A Dtune.c78 mp_mul(&a,&b,&c);
/external/dropbear/libtomcrypt/src/pk/katja/
H A Dkatja_make_key.c70 if ((err = mp_mul(key->p, key->q, key->pq)) != CRYPT_OK) { goto error2; } /* tmp1 = pq */
71 if ((err = mp_mul(key->pq, key->p, key->N)) != CRYPT_OK) { goto error2; } /* N = p^2q */
H A Dkatja_exptmod.c76 if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { goto error; }
/external/dropbear/libtomcrypt/src/pk/rsa/
H A Drsa_exptmod.c76 if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { goto error; }
/external/dropbear/
H A Dgenrsa.c71 if (mp_mul(key->p, key->q, key->n) != MP_OKAY) {
/external/wpa_supplicant/
H A Dbignum.c185 if (mp_mul((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) {
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dbignum.c185 if (mp_mul((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) {
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_make_key.c80 if ((err = mp_mul(key->q, tmp2, key->p)) != CRYPT_OK) { goto error; }
H A Ddsa_sign_hash.c94 if ((err = mp_mul(key->x, r, s)) != CRYPT_OK) { goto error; }

Completed in 2253 milliseconds

12