Searched refs:mp_2expt (Results 1 - 20 of 20) sorted by relevance

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

Completed in 256 milliseconds