/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_map.c | 54 if ((err = mp_mod(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_map() 56 if ((err = mp_mod(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
|
D | ecc_sign_hash.c | 79 if ((err = mp_mod(pubkey.pubkey.x, p, r)) != CRYPT_OK) { goto error; } in ecc_sign_hash() 88 …if ((err = mp_mod(s, p, s)) != CRYPT_OK) { goto error; } /* s = e + x… in ecc_sign_hash()
|
D | ecc_import.c | 44 …if ((err = mp_mod(t2, prime, t2)) != CRYPT_OK) { goto … in is_point() 54 …if ((err = mp_mod(t1, prime, t1)) != CRYPT_OK) { goto … in is_point()
|
D | ecc_verify_hash.c | 142 …if ((err = mp_mod(mG->x, p, v)) != CRYPT_OK) … in ecc_verify_hash()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_make_key.c | 79 …if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto error2; } /* dP = d mod… in katja_make_key() 80 …if ((err = mp_mod( key->d, tmp2, key->dQ)) != CRYPT_OK) { goto error2; } /* dQ = d mod… in katja_make_key()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_make_key.c | 88 …if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto errkey; } /* dP = d mod… in rsa_make_key() 89 …if ((err = mp_mod( key->d, tmp2, key->dQ)) != CRYPT_OK) { goto errkey; } /* dQ = d mod… in rsa_make_key()
|
/external/dropbear/libtommath/ |
D | bn_mp_sqrmod.c | 33 res = mp_mod (&t, b, c); in mp_sqrmod()
|
D | bn_mp_addmod.c | 33 res = mp_mod (&t, c, d); in mp_addmod()
|
D | bn_mp_mulmod.c | 32 res = mp_mod (&t, c, d); in mp_mulmod()
|
D | bn_mp_submod.c | 34 res = mp_mod (&t, c, d); in mp_submod()
|
D | bn_mp_mod.c | 20 mp_mod (mp_int * a, mp_int * b, mp_int * c) in mp_mod() function
|
D | bn_mp_is_square.c | 77 if ((res = mp_mod(arg,&t,&t)) != MP_OKAY) { in mp_is_square()
|
D | bn_mp_jacobi.c | 86 if ((res = mp_mod (p, &a1, &p1)) != MP_OKAY) { in mp_jacobi()
|
D | bn_fast_mp_invmod.c | 45 if ((res = mp_mod (a, b, &y)) != MP_OKAY) { in fast_mp_invmod()
|
D | bn_mp_invmod_slow.c | 36 if ((res = mp_mod(a, b, &x)) != MP_OKAY) { in mp_invmod_slow()
|
D | bn_s_mp_exptmod.c | 96 if ((err = mp_mod (G, P, &M[1])) != MP_OKAY) { in s_mp_exptmod()
|
D | bn_mp_exptmod_fast.c | 164 if ((err = mp_mod(G, P, &M[1])) != MP_OKAY) { in mp_exptmod_fast()
|
/external/dropbear/ |
D | dss.c | 242 if (mp_mod(&val4, key->q, &val2) != MP_OKAY) { in buf_dss_verify() 344 if (mp_mod(&dss_protok, key->q, &dss_k) != MP_OKAY) { in buf_put_dss_sign() 361 if (mp_mod(&dss_temp1, key->q, &dss_r) != MP_OKAY) { in buf_put_dss_sign()
|
D | gendss.c | 119 if (mp_mod(&tempX, &temp2q, &tempC) != MP_OKAY) { in getp()
|
/external/dropbear/libtommath/demo/ |
D | demo.c | 90 mp_mod(&d, &a, &d); in main() 272 mp_mod(&c, &a, &c); in main() 324 mp_mod(&b, &a, &b); in main() 364 mp_mod(&b, &a, &b); in main() 374 mp_mod(&c, &a, &c); in main()
|
D | timing.c | 252 mp_mod(&b, &c, &b); in main()
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_verify_hash.c | 71 …if ((err = mp_mod(v, key->q, v)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
|
D | dsa_sign_hash.c | 88 …if ((err = mp_mod(r, key->q, r)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
|
/external/dropbear/libtommath/mtest/ |
D | mpi.c | 1353 mp_err mp_mod(mp_int *a, mp_int *m, mp_int *c) in mp_mod() function 1541 if((res = mp_mod(c, m, c)) != MP_OKAY) in mp_addmod() 1566 if((res = mp_mod(c, m, c)) != MP_OKAY) in mp_submod() 1591 if((res = mp_mod(c, m, c)) != MP_OKAY) in mp_mulmod() 1611 if((res = mp_mod(c, m, c)) != MP_OKAY) in mp_sqrmod() 1651 if((res = mp_mod(&x, m, &x)) != MP_OKAY || in mp_exptmod() 1738 (res = mp_mod(&s, m, &s)) != MP_OKAY) in mp_exptmod_d() 1745 (res = mp_mod(&x, m, &x)) != MP_OKAY) in mp_exptmod_d() 2206 res = mp_mod(&x, m, c); in mp_invmod()
|
/external/dropbear/libtomcrypt/src/math/fp/ |
D | ltc_ecc_fp_mulmod.c | 811 if ((err = mp_mod(k, order, tk)) != CRYPT_OK) { in accel_fp_mul() 936 if ((err = mp_mod(kA, order, tka)) != CRYPT_OK) { in accel_fp_mul2add() 974 if ((err = mp_mod(kB, order, tkb)) != CRYPT_OK) { in accel_fp_mul2add()
|