/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_exptmod.c | 66 if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { goto error; } 69 if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { goto error; } 80 if ((err = mp_exptmod(tmp, key->e, key->N, tmp)) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtommath/ |
bn_mp_prime_fermat.c | 45 if ((err = mp_exptmod (b, a, a, &t)) != MP_OKAY) {
|
bn_mp_exptmod.c | 24 int mp_exptmod (mp_int * G, mp_int * X, mp_int * P, mp_int * Y) function 59 err = mp_exptmod(&tmpG, &tmpX, P, Y);
|
bn_mp_prime_miller_rabin.c | 65 if ((err = mp_exptmod (b, &r, a, &y)) != MP_OKAY) {
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_exptmod.c | 66 if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { goto error; } 69 if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { goto error; } 80 if ((err = mp_exptmod(tmp, key->N, key->N, tmp)) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_shared_secret.c | 47 if ((err = mp_exptmod(base, private_key, public_key->p, res)) != CRYPT_OK) {
|
dsa_verify_key.c | 76 if ((err = mp_exptmod(key->g, key->q, key->p, tmp)) != CRYPT_OK) { goto error; } 83 if ((err = mp_exptmod(key->y, key->q, key->p, tmp)) != CRYPT_OK) { goto error; }
|
dsa_verify_hash.c | 68 if ((err = mp_exptmod(key->g, u1, key->p, u1)) != CRYPT_OK) { goto error; } 69 if ((err = mp_exptmod(key->y, u2, key->p, u2)) != CRYPT_OK) { goto error; }
|
dsa_make_key.c | 98 if ((err = mp_exptmod(key->g, tmp2, key->p, tmp)) != CRYPT_OK) { goto error; } 114 if ((err = mp_exptmod(key->g, key->x, key->p, key->y)) != CRYPT_OK) { goto error; }
|
dsa_encrypt_key.c | 91 if ((err = mp_exptmod(key->g, g_priv, key->p, g_pub)) != CRYPT_OK) {
|
dsa_sign_hash.c | 87 if ((err = mp_exptmod(key->g, k, key->p, r)) != CRYPT_OK) { goto error; }
|
/external/dropbear/ |
gendss.c | 170 if (mp_exptmod(&h, &div, key->p, key->g) != MP_OKAY) { 192 if (mp_exptmod(key->g, key->x, key->p, key->y) != MP_OKAY) {
|
rsa.c | 252 if (mp_exptmod(&rsa_s, key->e, key->n, &rsa_mdash) != MP_OKAY) { 304 if (mp_exptmod(&rsa_tmp2, key->e, key->n, &rsa_s) != MP_OKAY) { 316 if (mp_exptmod(&rsa_tmp2, key->d, key->n, &rsa_tmp1) != MP_OKAY) { 331 if (mp_exptmod(&rsa_tmp1, key->d, key->n, &rsa_s) != MP_OKAY) {
|
dss.c | 230 if (mp_exptmod(key->g, &val3, key->p, &val2) != MP_OKAY) { 234 if (mp_exptmod(key->y, &val4, key->p, &val3) != MP_OKAY) { 357 if (mp_exptmod(key->g, &dss_k, key->p, &dss_temp1) != MP_OKAY) {
|
common-kex.c | 504 if (mp_exptmod(&dh_g, dh_priv, &dh_p, dh_pub) != MP_OKAY) { 534 if (mp_exptmod(dh_pub_them, dh_priv, &dh_p, ses.dh_K) != MP_OKAY) {
|
/external/dropbear/libtommath/etc/ |
pprime.c | 268 if ((res = mp_exptmod (&x, &a, &n, &y)) != MP_OKAY) { /* y = x^a mod n */ 285 if ((res = mp_exptmod (&x, &b, &n, &y)) != MP_OKAY) { /* y = x^b mod n */ 302 if ((res = mp_exptmod (&x, &c, &n, &y)) != MP_OKAY) { /* y = x^ab mod n */
|
/external/wpa_supplicant/ |
bignum.c | 224 if (mp_exptmod((mp_int *) a, (mp_int *) b, (mp_int *) c, (mp_int *) d)
|
crypto_libtomcrypt.c | 28 #define mp_exptmod(a,b,c,d) ltc_mp.exptmod(a,b,c,d) macro 717 if (mp_exptmod(b, p, m, r) != CRYPT_OK)
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
bignum.c | 224 if (mp_exptmod((mp_int *) a, (mp_int *) b, (mp_int *) c, (mp_int *) d)
|
/external/wpa_supplicant_8/src/tls/ |
bignum.c | 224 if (mp_exptmod((mp_int *) a, (mp_int *) b, (mp_int *) c, (mp_int *) d)
|
/external/dropbear/libtommath/demo/ |
timing.c | 258 DO(mp_exptmod(&c, &b, &a, &d)); 265 mp_exptmod(&c, &b, &a, &e); /* c^(p-1-b) mod a */
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_libtomcrypt.c | 28 #define mp_exptmod(a,b,c,d) ltc_mp.exptmod(a,b,c,d) macro 717 if (mp_exptmod(b, p, m, r) != CRYPT_OK)
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 27 #define mp_exptmod(a,b,c,d) ltc_mp.exptmod(a,b,c,d) macro 717 if (mp_exptmod(b, p, m, r) != CRYPT_OK)
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_math.h | 493 #define mp_exptmod(a,b,c,d) ltc_mp.exptmod(a,b,c,d) macro
|
/external/dropbear/libtommath/mtest/ |
mpi.h | 153 mp_err mp_exptmod(mp_int *a, mp_int *b, mp_int *m, mp_int *c);
|