/external/dropbear/libtommath/ |
bn_mp_addmod.c | 33 res = mp_mod (&t, c, d);
|
bn_mp_mulmod.c | 32 res = mp_mod (&t, c, d);
|
bn_mp_sqrmod.c | 33 res = mp_mod (&t, b, c);
|
bn_mp_submod.c | 34 res = mp_mod (&t, c, d);
|
bn_mp_mod.c | 20 mp_mod (mp_int * a, mp_int * b, mp_int * c) function
|
bn_mp_is_square.c | 77 if ((res = mp_mod(arg,&t,&t)) != MP_OKAY) { 83 * is already equal to MP_OKAY from the mp_mod call
|
bn_mp_jacobi.c | 86 if ((res = mp_mod (p, &a1, &p1)) != MP_OKAY) {
|
bn_fast_mp_invmod.c | 45 if ((res = mp_mod (a, b, &y)) != MP_OKAY) {
|
bn_mp_invmod_slow.c | 36 if ((res = mp_mod(a, b, &x)) != MP_OKAY) {
|
bn_s_mp_exptmod.c | 96 if ((err = mp_mod (G, P, &M[1])) != MP_OKAY) {
|
bn_mp_exptmod_fast.c | 164 if ((err = mp_mod(G, P, &M[1])) != MP_OKAY) {
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ltc_ecc_map.c | 54 if ((err = mp_mod(t2, modulus, t2)) != CRYPT_OK) { goto done; } 56 if ((err = mp_mod(t1, modulus, t1)) != CRYPT_OK) { goto done; }
|
ecc_sign_hash.c | 79 if ((err = mp_mod(pubkey.pubkey.x, p, r)) != CRYPT_OK) { goto error; } 88 if ((err = mp_mod(s, p, s)) != CRYPT_OK) { goto error; } /* s = e + xr */
|
ecc_import.c | 44 if ((err = mp_mod(t2, prime, t2)) != CRYPT_OK) { goto error; } 54 if ((err = mp_mod(t1, prime, t1)) != CRYPT_OK) { goto error; }
|
ecc_verify_hash.c | 142 if ((err = mp_mod(mG->x, p, v)) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_make_key.c | 79 if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto error2; } /* dP = d mod p-1 */ 80 if ((err = mp_mod( key->d, tmp2, key->dQ)) != CRYPT_OK) { goto error2; } /* dQ = d mod q-1 */
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_make_key.c | 88 if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto errkey; } /* dP = d mod p-1 */ 89 if ((err = mp_mod( key->d, tmp2, key->dQ)) != CRYPT_OK) { goto errkey; } /* dQ = d mod q-1 */
|
/external/dropbear/ |
dss.c | 242 if (mp_mod(&val4, key->q, &val2) != MP_OKAY) { 344 if (mp_mod(&dss_protok, key->q, &dss_k) != MP_OKAY) { 361 if (mp_mod(&dss_temp1, key->q, &dss_r) != MP_OKAY) {
|
gendss.c | 119 if (mp_mod(&tempX, &temp2q, &tempC) != MP_OKAY) {
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_verify_hash.c | 71 if ((err = mp_mod(v, key->q, v)) != CRYPT_OK) { goto error; }
|
dsa_sign_hash.c | 88 if ((err = mp_mod(r, key->q, r)) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtommath/demo/ |
demo.c | 90 mp_mod(&d, &a, &d); 272 mp_mod(&c, &a, &c); 324 mp_mod(&b, &a, &b); 364 mp_mod(&b, &a, &b); 374 mp_mod(&c, &a, &c);
|
timing.c | 252 mp_mod(&b, &c, &b);
|
/external/dropbear/libtommath/mtest/ |
mpi.c | 1345 /* {{{ mp_mod(a, m, c) */ 1348 mp_mod(a, m, c) 1353 mp_err mp_mod(mp_int *a, mp_int *m, mp_int *c) function 1402 } /* end mp_mod() */ 1541 if((res = mp_mod(c, m, c)) != MP_OKAY) 1566 if((res = mp_mod(c, m, c)) != MP_OKAY) 1591 if((res = mp_mod(c, m, c)) != MP_OKAY) [all...] |
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_math.h | 479 #define mp_mod(a, b, c) ltc_mp.mpdiv(a, b, NULL, c) macro
|