Home
last modified time | relevance | path

Searched refs:mp_init (Results 1 – 25 of 59) sorted by relevance

123

/external/dropbear/libtommath/etc/
Dpprime.c187 if ((res = mp_init (&c)) != MP_OKAY) { in pprime()
191 if ((res = mp_init (&v)) != MP_OKAY) { in pprime()
203 if ((res = mp_init (&a)) != MP_OKAY) { in pprime()
210 if ((res = mp_init (&b)) != MP_OKAY) { in pprime()
214 if ((res = mp_init (&n)) != MP_OKAY) { in pprime()
218 if ((res = mp_init (&x)) != MP_OKAY) { in pprime()
222 if ((res = mp_init (&y)) != MP_OKAY) { in pprime()
226 if ((res = mp_init (&z)) != MP_OKAY) { in pprime()
381 mp_init (&p); in main()
382 mp_init (&q); in main()
Dtune.c63 mp_init (&a); in time_mult()
64 mp_init (&b); in time_mult()
65 mp_init (&c); in time_mult()
93 mp_init (&a); in time_sqr()
94 mp_init (&b); in time_sqr()
Ddrprime.c12 mp_init(&a); in main()
13 mp_init(&b); in main()
Dmersenne.c16 if ((res = mp_init (&n)) != MP_OKAY) { in is_mersenne()
20 if ((res = mp_init (&u)) != MP_OKAY) { in is_mersenne()
/external/dropbear/libtommath/demo/
Dtiming.c89 mp_init(&a); in main()
90 mp_init(&b); in main()
91 mp_init(&c); in main()
92 mp_init(&d); in main()
93 mp_init(&e); in main()
94 mp_init(&f); in main()
Ddemo.c62 mp_init(&a); in main()
63 mp_init(&b); in main()
64 mp_init(&c); in main()
65 mp_init(&d); in main()
66 mp_init(&e); in main()
67 mp_init(&f); in main()
400 mp_init(&a); in main()
404 mp_init(&b); in main()
408 mp_init(&c); in main()
412 mp_init(&d); in main()
[all …]
/external/dropbear/libtommath/
Dbn_mp_n_root.c38 if ((res = mp_init (&t1)) != MP_OKAY) { in mp_n_root()
42 if ((res = mp_init (&t2)) != MP_OKAY) { in mp_n_root()
46 if ((res = mp_init (&t3)) != MP_OKAY) { in mp_n_root()
Dbn_s_mp_exptmod.c56 if ((err = mp_init(&M[1])) != MP_OKAY) { in s_mp_exptmod()
62 if ((err = mp_init(&M[x])) != MP_OKAY) { in s_mp_exptmod()
72 if ((err = mp_init (&mu)) != MP_OKAY) { in s_mp_exptmod()
133 if ((err = mp_init (&res)) != MP_OKAY) { in s_mp_exptmod()
Dbn_mp_exptmod.c40 if ((err = mp_init(&tmpG)) != MP_OKAY) { in mp_exptmod()
49 if ((err = mp_init(&tmpX)) != MP_OKAY) { in mp_exptmod()
Dbn_mp_exptmod_fast.c70 if ((err = mp_init(&M[1])) != MP_OKAY) { in mp_exptmod_fast()
76 if ((err = mp_init(&M[x])) != MP_OKAY) { in mp_exptmod_fast()
136 if ((err = mp_init (&res)) != MP_OKAY) { in mp_exptmod_fast()
Dbn_mp_init_set_int.c22 if ((err = mp_init(a)) != MP_OKAY) { in mp_init_set_int()
Dbn_mp_init_copy.c23 if ((res = mp_init (a)) != MP_OKAY) { in mp_init_copy()
Dbn_mp_init_set.c22 if ((err = mp_init(a)) != MP_OKAY) { in mp_init_set()
Dbn_mp_sqrmod.c25 if ((res = mp_init (&t)) != MP_OKAY) { in mp_sqrmod()
Dbn_mp_reduce_2k_setup_l.c24 if ((res = mp_init(&tmp)) != MP_OKAY) { in mp_reduce_2k_setup_l()
Dbn_mp_init.c19 int mp_init (mp_int * a) in mp_init() function
Dbn_mp_mulmod.c24 if ((res = mp_init (&t)) != MP_OKAY) { in mp_mulmod()
Dbn_mp_addmod.c25 if ((res = mp_init (&t)) != MP_OKAY) { in mp_addmod()
Dbn_mp_submod.c26 if ((res = mp_init (&t)) != MP_OKAY) { in mp_submod()
/external/dropbear/libtommath/mtest/
Dmtest.c77 mp_init(&a); in main()
78 mp_init(&b); in main()
79 mp_init(&c); in main()
80 mp_init(&d); in main()
81 mp_init(&e); in main()
Dmpi.c236 mp_err mp_init(mp_int *mp) in mp_init() function
254 if((res = mp_init(&mp[pos])) != MP_OKAY) in mp_init_array()
765 if((res = mp_init(&s)) != MP_OKAY) in mp_expt_d()
1274 if((res = mp_init(&s)) != MP_OKAY) in mp_expt()
1647 if((res = mp_init(&s)) != MP_OKAY) in mp_exptmod()
1652 (res = mp_init(&mu)) != MP_OKAY) in mp_exptmod()
1728 if((res = mp_init(&s)) != MP_OKAY) in mp_exptmod_d()
1870 mp_init(&tmp); mp_set_int(&tmp, z); in mp_cmp_int()
1935 if((res = mp_init(&t)) != MP_OKAY) in mp_gcd()
2029 if((res = mp_init(&gcd)) != MP_OKAY) in mp_lcm()
[all …]
/external/dropbear/
Dbignum.c33 if (mp_init(mp) != MP_OKAY) { in m_mp_init()
47 if (mp_init(cur_arg) != MP_OKAY) { in m_mp_init_multi()
/external/dropbear/libtomcrypt/src/math/fp/
Dltc_ecc_fp_mulmod.c731 …if ((err = mp_init(&tmp)) != CRYPT_OK) … in build_lut()
797 if ((err = mp_init(&order)) != CRYPT_OK) { in accel_fp_mul()
807 if ((err = mp_init(&tk)) != CRYPT_OK) { in accel_fp_mul()
922 if ((err = mp_init(&order)) != CRYPT_OK) { in accel_fp_mul2add()
932 if ((err = mp_init(&tka)) != CRYPT_OK) { in accel_fp_mul2add()
960 if ((err = mp_init(&order)) != CRYPT_OK) { in accel_fp_mul2add()
970 if ((err = mp_init(&tkb)) != CRYPT_OK) { in accel_fp_mul2add()
1158 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_fp_mul2add()
1178 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_fp_mul2add()
1252 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_fp_mulmod()
/external/wpa_supplicant/
Dlibtommath.c322 static int mp_init (mp_int * a) in mp_init() function
492 if ((res = mp_init (&t)) != MP_OKAY) { in mp_mulmod()
512 if ((res = mp_init (&t)) != MP_OKAY) { in mp_mod()
554 if ((err = mp_init(&tmpG)) != MP_OKAY) { in mp_exptmod()
563 if ((err = mp_init(&tmpX)) != MP_OKAY) { in mp_exptmod()
977 if ((res = mp_init (&t)) != MP_OKAY) { in mp_div_2d()
1041 if ((res = mp_init (a)) != MP_OKAY) { in mp_init_copy()
1389 if (mp_init(cur_arg) != MP_OKAY) { in mp_init_multi()
1643 if ((err = mp_init(&M[1])) != MP_OKAY) { in s_mp_exptmod()
1649 if ((err = mp_init(&M[x])) != MP_OKAY) { in s_mp_exptmod()
[all …]
/external/dropbear/libtommath/pre_gen/
Dmpi.c1008 if ((res = mp_init (&t)) != MP_OKAY) { in mp_addmod()
1686 if ((res = mp_init (&t1)) != MP_OKAY) { in mp_div()
1690 if ((res = mp_init (&t2)) != MP_OKAY) { in mp_div()
1958 if ((res = mp_init (&t)) != MP_OKAY) { in mp_div_2d()
2541 if ((err = mp_init(&tmpG)) != MP_OKAY) { in mp_exptmod()
2550 if ((err = mp_init(&tmpX)) != MP_OKAY) { in mp_exptmod()
2687 if ((err = mp_init(&M[1])) != MP_OKAY) { in mp_exptmod_fast()
2693 if ((err = mp_init(&M[x])) != MP_OKAY) { in mp_exptmod_fast()
2753 if ((err = mp_init (&res)) != MP_OKAY) { in mp_exptmod_fast()
3393 int mp_init (mp_int * a) in mp_init() function
[all …]

123