Home
last modified time | relevance | path

Searched refs:mp_set (Results 1 – 25 of 36) sorted by relevance

12

/external/dropbear/libtommath/
Dbn_mp_prime_next_prime.c53 mp_set(a, ltm_prime_tab[y]); in mp_prime_next_prime()
59 mp_set(a, ltm_prime_tab[x + 1]); in mp_prime_next_prime()
66 mp_set(a, 2); in mp_prime_next_prime()
146 mp_set(&b, ltm_prime_tab[t]); in mp_prime_next_prime()
Dbn_mp_exteuclid.c31 mp_set(&u1, 1); in mp_exteuclid()
35 mp_set(&v2, 1); in mp_exteuclid()
Dbn_mp_invmod_slow.c56 mp_set (&A, 1); in mp_invmod_slow()
57 mp_set (&D, 1); in mp_invmod_slow()
Dbn_mp_init_set.c25 mp_set(a, b); in mp_init_set()
Dbn_mp_set.c19 void mp_set (mp_int * a, mp_digit b) in mp_set() function
Dbn_mp_expt_d.c29 mp_set (c, 1); in mp_expt_d()
Dbn_mp_montgomery_calc_normalization.c36 mp_set(a, 1); in mp_montgomery_calc_normalization()
Dbn_mp_prime_is_prime.c63 mp_set (&b, ltm_prime_tab[ix]); in mp_prime_is_prime()
Dbn_mp_reduce.c77 mp_set (&q, 1); in mp_reduce()
Dbn_mp_n_root.c55 mp_set (&t2, 2); in mp_n_root()
Dbn_fast_mp_invmod.c56 mp_set (&D, 1); in fast_mp_invmod()
Dbn_s_mp_exptmod.c136 mp_set (&res, 1); in s_mp_exptmod()
/external/dropbear/libtommath/etc/
Dpprime.c183 mp_set (p, prime_digit ()); in pprime()
208 mp_set (&a, prime_digit ()); in pprime()
235 mp_set (&b, prime_digit ()); in pprime()
265 mp_set (&x, bases[ii]); in pprime()
Dmersenne.c33 mp_set (&u, 4); in is_mersenne()
/external/dropbear/libtomcrypt/src/pk/ecc/
Dltc_ecc_map.c63 if ((err = mp_set(P->z, 1)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
Decc_ansi_x963_import.c67 if ((err = mp_set(key->pubkey.z, 1)) != CRYPT_OK) { goto error; } in ecc_ansi_x963_import_ex()
Decc_test.c72 mp_set(G->z, 1); in ecc_test()
Decc_make_key.c98 …if ((err = mp_set(base->z, 1)) != CRYPT_OK) { got… in ecc_make_key_ex()
Decc_verify_hash.c117 …if ((err = mp_set(mG->z, 1)) != CRYPT_OK) … in ecc_verify_hash()
/external/dropbear/libtommath/pre_gen/
Dmpi.c108 mp_set (&D, 1); in fast_mp_invmod()
1605 mp_set(&tq, 1); in mp_div()
2469 mp_set (c, 1); in mp_expt_d()
2780 mp_set(&res, 1); in mp_exptmod_fast()
2973 mp_set(&u1, 1); in mp_exteuclid()
2977 mp_set(&v2, 1); in mp_exteuclid()
3548 mp_set(a, b); in mp_init_set()
3749 mp_set (&A, 1); in mp_invmod_slow()
3750 mp_set (&D, 1); in mp_invmod_slow()
4703 mp_set(a, 1); in mp_montgomery_calc_normalization()
[all …]
/external/wpa_supplicant/
Dlibtommath.c116 static void mp_set(mp_int * a, mp_digit b);
745 mp_set (&A, 1); in mp_invmod_slow()
746 mp_set (&D, 1); in mp_invmod_slow()
1259 static void mp_set (mp_int * a, mp_digit b) in mp_set() function
1565 mp_set(&tq, 1); in mp_div()
1723 mp_set (&res, 1); in s_mp_exptmod()
2041 mp_set (&q, 1); in mp_reduce()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c143 static void mp_set(mp_int * a, mp_digit b);
792 mp_set (&A, 1); in mp_invmod_slow()
793 mp_set (&D, 1); in mp_invmod_slow()
1309 static void mp_set (mp_int * a, mp_digit b) in mp_set() function
1623 mp_set(&tq, 1); in mp_div()
1981 mp_set (&res, 1); in s_mp_exptmod()
2299 mp_set (&q, 1); in mp_reduce()
2909 mp_set(a, 1); in mp_montgomery_calc_normalization()
3071 mp_set(&res, 1); in mp_exptmod_fast()
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_make_key.c94 mp_set(key->g, 1); in dsa_make_key()
/external/dropbear/libtommath/mtest/
Dmpi.c478 void mp_set(mp_int *mp, mp_digit d) in mp_set() function
1174 mp_set(q, 1); in mp_div()
1277 mp_set(&s, 1); in mp_expt()
1655 mp_set(&s, 1); in mp_exptmod()
1733 mp_set(&s, 1); in mp_exptmod_d()
2094 mp_set(&gx, 1); in mp_xgcd()
2106 mp_set(&A, 1); mp_set(&D, 1); in mp_xgcd()
3398 mp_set(&q, 1); in s_mp_reduce()
/external/dropbear/
Dgendss.c167 mp_set(&h, 1); in getg()

12