/external/dropbear/libtommath/ |
bn_mp_mulmod.c | 19 int mp_mulmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d) function
|
bn_mp_exptmod_fast.c | 159 if ((err = mp_mulmod (G, &res, P, &M[1])) != MP_OKAY) {
|
tommath.h | 363 int mp_mulmod(mp_int *a, mp_int *b, mp_int *c, mp_int *d);
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_verify_hash.c | 62 if ((err = mp_mulmod(u1, w, key->q, u1)) != CRYPT_OK) { goto error; } 65 if ((err = mp_mulmod(r, w, key->q, u2)) != CRYPT_OK) { goto error; } 70 if ((err = mp_mulmod(u1, u2, key->p, v)) != CRYPT_OK) { goto error; }
|
dsa_sign_hash.c | 96 if ((err = mp_mulmod(s, kinv, key->q, s)) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_sign_hash.c | 86 if ((err = mp_mulmod(key->k, r, p, s)) != CRYPT_OK) { goto error; } /* s = xr */ 89 if ((err = mp_mulmod(s, pubkey.k, p, s)) != CRYPT_OK) { goto error; } /* s = (e + xr)/k */
|
ltc_ecc_mul2add.c | 108 if ((err = mp_mulmod(A->x, mu, modulus, precomp[1]->x)) != CRYPT_OK) { goto ERR_MU; } 109 if ((err = mp_mulmod(A->y, mu, modulus, precomp[1]->y)) != CRYPT_OK) { goto ERR_MU; } 110 if ((err = mp_mulmod(A->z, mu, modulus, precomp[1]->z)) != CRYPT_OK) { goto ERR_MU; } 112 if ((err = mp_mulmod(B->x, mu, modulus, precomp[1<<2]->x)) != CRYPT_OK) { goto ERR_MU; } 113 if ((err = mp_mulmod(B->y, mu, modulus, precomp[1<<2]->y)) != CRYPT_OK) { goto ERR_MU; } 114 if ((err = mp_mulmod(B->z, mu, modulus, precomp[1<<2]->z)) != CRYPT_OK) { goto ERR_MU; }
|
ltc_ecc_mulmod_timing.c | 82 if ((err = mp_mulmod(G->x, mu, modulus, tG->x)) != CRYPT_OK) { goto done; } 83 if ((err = mp_mulmod(G->y, mu, modulus, tG->y)) != CRYPT_OK) { goto done; } 84 if ((err = mp_mulmod(G->z, mu, modulus, tG->z)) != CRYPT_OK) { goto done; }
|
ecc_verify_hash.c | 109 if ((err = mp_mulmod(e, w, p, u1)) != CRYPT_OK) { goto error; } 112 if ((err = mp_mulmod(r, w, p, u2)) != CRYPT_OK) { goto error; }
|
ltc_ecc_mulmod.c | 89 if ((err = mp_mulmod(G->x, mu, modulus, tG->x)) != CRYPT_OK) { goto done; } 90 if ((err = mp_mulmod(G->y, mu, modulus, tG->y)) != CRYPT_OK) { goto done; } 91 if ((err = mp_mulmod(G->z, mu, modulus, tG->z)) != CRYPT_OK) { goto done; }
|
/external/dropbear/ |
dss.c | 212 if (mp_mulmod(&val1, &val2, key->q, &val3) != MP_OKAY) { 224 if (mp_mulmod(&val1, &val2, key->q, &val4) != MP_OKAY) { 238 if (mp_mulmod(&val2, &val3, key->p, &val4) != MP_OKAY) { 366 if (mp_mulmod(&dss_r, key->x, key->q, &dss_temp1) != MP_OKAY) { 380 if (mp_mulmod(&dss_temp1, &dss_temp2, key->q, &dss_s) != MP_OKAY) {
|
rsa.c | 310 if (mp_mulmod(&rsa_tmp1, &rsa_s, key->n, &rsa_tmp2) != MP_OKAY) { 323 if (mp_mulmod(&rsa_tmp1, &rsa_tmp3, key->n, &rsa_s) != MP_OKAY) {
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_exptmod.c | 73 if ((err = mp_mulmod(tmp, key->qP, key->p, tmp)) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_exptmod.c | 73 if ((err = mp_mulmod(tmp, key->qP, key->p, tmp)) != CRYPT_OK) { goto error; }
|
/external/wpa_supplicant/ |
bignum.c | 204 if (mp_mulmod((mp_int *) a, (mp_int *) b, (mp_int *) c, (mp_int *) d)
|
libtommath.c | 487 static int mp_mulmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d) function [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
bignum.c | 204 if (mp_mulmod((mp_int *) a, (mp_int *) b, (mp_int *) c, (mp_int *) d)
|
libtommath.c | 527 static int mp_mulmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d) function [all...] |
/external/dropbear/libtommath/demo/ |
timing.c | 266 mp_mulmod(&e, &d, &a, &d); /* c^b * c^(p-1-b) == c^p-1 == 1 */ 303 mp_mulmod(&b, &c, &a, &d);
|
demo.c | 92 mp_mulmod(&c, &b, &a, &c); 659 mp_mulmod(&d, &a, &b, &e);
|
/external/dropbear/libtommath/mtest/ |
mpi.h | 147 mp_err mp_mulmod(mp_int *a, mp_int *b, mp_int *m, mp_int *c); 151 #define mp_sqrmod(a, m, c) mp_mulmod(a, a, m, c)
|
mpi.c | 1575 /* {{{ mp_mulmod(a, b, m, c) */ 1578 mp_mulmod(a, b, m, c) 1583 mp_err mp_mulmod(mp_int *a, mp_int *b, mp_int *m, mp_int *c) function [all...] |
/external/dropbear/libtomcrypt/src/math/fp/ |
ltc_ecc_fp_mulmod.c | [all...] |
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_math.h | 484 #define mp_mulmod(a, b, c, d) ltc_mp.mulmod(a, b, c, d) macro
|
/external/dropbear/libtomcrypt/src/math/ |
ltm_desc.c | 317 return mpi_to_ltc_error(mp_mulmod(a,b,c,d));
|