Home
last modified time | relevance | path

Searched refs:mp_init_copy (Results 1 – 24 of 24) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_or.c25 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_or()
31 if ((res = mp_init_copy (&t, b)) != MP_OKAY) { in mp_or()
Dbn_mp_xor.c26 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_xor()
32 if ((res = mp_init_copy (&t, b)) != MP_OKAY) { in mp_xor()
Dbn_mp_and.c26 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_and()
32 if ((res = mp_init_copy (&t, b)) != MP_OKAY) { in mp_and()
Dbn_mp_prime_miller_rabin.c39 if ((err = mp_init_copy (&n1, a)) != MP_OKAY) { in mp_prime_miller_rabin()
47 if ((err = mp_init_copy (&r, &n1)) != MP_OKAY) { in mp_prime_miller_rabin()
Dbn_mp_gcd.c33 if ((res = mp_init_copy (&u, a)) != MP_OKAY) { in mp_gcd()
37 if ((res = mp_init_copy (&v, b)) != MP_OKAY) { in mp_gcd()
Dbn_mp_init_copy.c19 int mp_init_copy (mp_int * a, mp_int * b) in mp_init_copy() function
Dbn_mp_to_unsigned_bin.c24 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_to_unsigned_bin()
Dbn_mp_expt_d.c24 if ((res = mp_init_copy (&g, a)) != MP_OKAY) { in mp_expt_d()
Dbn_mp_radix_size.c52 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_radix_size()
Dbn_mp_toradix.c38 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_toradix()
Dbn_mp_toradix_n.c41 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_toradix_n()
Dbn_mp_sqrt.c35 if ((res = mp_init_copy(&t1, arg)) != MP_OKAY) { in mp_sqrt()
Dbn_mp_jacobi.c48 if ((res = mp_init_copy (&a1, a)) != MP_OKAY) { in mp_jacobi()
Dbn_mp_reduce.c28 if ((res = mp_init_copy (&q, x)) != MP_OKAY) { in mp_reduce()
Dbn_mp_div.c139 if ((res = mp_init_copy (&x, a)) != MP_OKAY) { in mp_div()
143 if ((res = mp_init_copy (&y, b)) != MP_OKAY) { in mp_div()
Dtommath.h247 int mp_init_copy(mp_int *a, mp_int *b);
Dbn.tex485 int mp_init_copy (mp_int * a, mp_int * b);
499 if ((result = mp_init_copy(&num2, &num1)) != MP_OKAY) \{
/external/dropbear/libtommath/mtest/
Dmpi.c307 mp_err mp_init_copy(mp_int *mp, mp_int *from) in mp_init_copy() function
712 if((res = mp_init_copy(&qp, a)) != MP_OKAY) in mp_div_d()
767 if((res = mp_init_copy(&x, a)) != MP_OKAY) in mp_expt_d()
896 if((res = mp_init_copy(&tmp, a)) != MP_OKAY) in mp_add()
926 if((res = mp_init_copy(&tmp, b)) != MP_OKAY) in mp_add()
986 if((res = mp_init_copy(&tmp, a)) != MP_OKAY) in mp_sub()
1011 if((res = mp_init_copy(&tmp, b)) != MP_OKAY) in mp_sub()
1188 if((res = mp_init_copy(&qtmp, a)) != MP_OKAY) in mp_div()
1190 if((res = mp_init_copy(&rtmp, b)) != MP_OKAY) in mp_div()
1279 if((res = mp_init_copy(&x, a)) != MP_OKAY) in mp_expt()
[all …]
Dmpi.h93 mp_err mp_init_copy(mp_int *mp, mp_int *from);
/external/dropbear/libtommath/pre_gen/
Dmpi.c1054 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_and()
1060 if ((res = mp_init_copy (&t, b)) != MP_OKAY) { in mp_and()
1694 if ((res = mp_init_copy (&x, a)) != MP_OKAY) { in mp_div()
1698 if ((res = mp_init_copy (&y, b)) != MP_OKAY) { in mp_div()
2464 if ((res = mp_init_copy (&g, a)) != MP_OKAY) { in mp_expt_d()
3188 if ((res = mp_init_copy (&u, a)) != MP_OKAY) { in mp_gcd()
3192 if ((res = mp_init_copy (&v, b)) != MP_OKAY) { in mp_gcd()
3443 int mp_init_copy (mp_int * a, mp_int * b) in mp_init_copy() function
4033 if ((res = mp_init_copy (&a1, a)) != MP_OKAY) { in mp_jacobi()
5492 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_or()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c150 static int mp_init_copy(mp_int * a, mp_int * b);
986 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_to_unsigned_bin()
1085 static int mp_init_copy (mp_int * a, mp_int * b) in mp_init_copy() function
1712 if ((res = mp_init_copy (&x, a)) != MP_OKAY) { in mp_div()
1716 if ((res = mp_init_copy (&y, b)) != MP_OKAY) { in mp_div()
2249 if ((res = mp_init_copy (&q, x)) != MP_OKAY) { in mp_reduce()
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c150 static int mp_init_copy(mp_int * a, mp_int * b);
986 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { in mp_to_unsigned_bin()
1085 static int mp_init_copy (mp_int * a, mp_int * b) in mp_init_copy() function
1712 if ((res = mp_init_copy (&x, a)) != MP_OKAY) { in mp_div()
1716 if ((res = mp_init_copy (&y, b)) != MP_OKAY) { in mp_div()
2249 if ((res = mp_init_copy (&q, x)) != MP_OKAY) { in mp_reduce()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h448 #define mp_init_copy(a, b) ltc_mp.init_copy(a, b) macro
/external/dropbear/libtomcrypt/src/math/fp/
Dltc_ecc_fp_mulmod.c694 if ((err = mp_init_copy(&fp_cache[idx].mu, mu)) != CRYPT_OK) { in build_lut()