Searched refs:MP_OKAY (Results 1 – 3 of 3) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | libtommath.c | 101 #define MP_OKAY 0 /* ok result */ macro 240 if ((res = mp_grow (c, max + 1)) != MP_OKAY) { in s_mp_add() 303 return MP_OKAY; in s_mp_add() 318 if ((res = mp_grow (c, max)) != MP_OKAY) { in s_mp_sub() 370 return MP_OKAY; in s_mp_sub() 396 return MP_OKAY; in mp_init() 545 if ((res = mp_init (&t)) != MP_OKAY) { in mp_mulmod() 549 if ((res = mp_mul (a, b, &t)) != MP_OKAY) { in mp_mulmod() 565 if ((res = mp_init (&t)) != MP_OKAY) { in mp_mod() 569 if ((res = mp_div (a, b, NULL, &t)) != MP_OKAY) { in mp_mod() [all …]
|
D | bignum.c | 35 if (mp_init((mp_int *) n) != MP_OKAY) { in bignum_init() 82 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) { in bignum_get_unsigned_bin() 101 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) { in bignum_set_unsigned_bin() 143 if (mp_add((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_add() 161 if (mp_sub((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_sub() 179 if (mp_mul((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_mul() 199 != MP_OKAY) { in bignum_mulmod() 219 != MP_OKAY) { in bignum_exptmod()
|
/external/python/cpython2/Modules/ |
D | _tkinter.c | 1069 if (mp_read_radix(&bigValue, hexchars, 16) != MP_OKAY) { in asBignumObj() 1274 &numBytes) != MP_OKAY) { in fromBignumObj()
|