Home
last modified time | relevance | path

Searched refs:mp_2expt (Results 1 – 18 of 18) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_reduce_setup.c25 if ((res = mp_2expt (a, b->used * 2 * DIGIT_BIT)) != MP_OKAY) { in mp_reduce_setup()
Dbn_mp_2expt.c24 mp_2expt (mp_int * a, int b) in mp_2expt() function
Dbn_mp_reduce_2k_setup_l.c28 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) { in mp_reduce_2k_setup_l()
Dbn_mp_reduce_2k_setup.c29 if ((res = mp_2expt(&tmp, p)) != MP_OKAY) { in mp_reduce_2k_setup()
Dbn_mp_montgomery_calc_normalization.c32 if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) { in mp_montgomery_calc_normalization()
Dtommath.h276 int mp_2expt(mp_int *a, int b);
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
Dder_decode_integer.c95 if (mp_2expt(tmp, mp_count_bits(num)) != CRYPT_OK || mp_sub(num, tmp, num) != CRYPT_OK) { in der_decode_integer()
Dder_encode_integer.c110 if (mp_2expt(tmp, y) != CRYPT_OK || mp_add(tmp, num, tmp) != CRYPT_OK) { in der_encode_integer()
/external/dropbear/libtommath/etc/
D2kprime.c21 mp_2expt(&q, sizes[x]); in main()
Dmersenne.c25 if ((res = mp_2expt(&n, s)) != MP_OKAY) { in is_mersenne()
/external/dropbear/libtommath/demo/
Ddemo.c257 mp_2expt(&a, cnt); in main()
342 mp_2expt(&a, 1024); in main()
347 mp_2expt(&a, 2048); in main()
/external/dropbear/libtommath/mtest/
Dmpi.h136 mp_err mp_2expt(mp_int *a, mp_digit k);
Dmpi.c1335 mp_err mp_2expt(mp_int *a, mp_digit k) in mp_2expt() function
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h462 #define mp_2expt(a, b) ltc_mp.twoexpt(a, b) macro
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c169 static int mp_2expt(mp_int * a, int b);
2184 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) { in mp_reduce_2k_setup_l()
2203 static int mp_2expt (mp_int * a, int b) in mp_2expt() function
2232 if ((res = mp_2expt (a, b->used * 2 * DIGIT_BIT)) != MP_OKAY) { in mp_reduce_setup()
2905 if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) { in mp_montgomery_calc_normalization()
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c169 static int mp_2expt(mp_int * a, int b);
2184 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) { in mp_reduce_2k_setup_l()
2203 static int mp_2expt (mp_int * a, int b) in mp_2expt() function
2232 if ((res = mp_2expt (a, b->used * 2 * DIGIT_BIT)) != MP_OKAY) { in mp_reduce_setup()
2905 if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) { in mp_montgomery_calc_normalization()
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c162 return mpi_to_ltc_error(mp_2expt(a, n)); in twoexpt()
/external/dropbear/libtommath/pre_gen/
Dmpi.c735 mp_2expt (mp_int * a, int b) in mp_2expt() function
4699 if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) { in mp_montgomery_calc_normalization()
6820 if ((res = mp_2expt(&tmp, p)) != MP_OKAY) { in mp_reduce_2k_setup()
6870 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) { in mp_reduce_2k_setup_l()
7019 if ((res = mp_2expt (a, b->used * 2 * DIGIT_BIT)) != MP_OKAY) { in mp_reduce_setup()