Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:DIGIT_BIT

49 #define DIGIT_BIT          28
58 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
89 #define MP_WARRAY (1 << (sizeof(mp_word) * CHAR_BIT - 2 * DIGIT_BIT + 1))
218 u = *tmpc >> ((mp_digit)DIGIT_BIT);
233 u = *tmpc >> ((mp_digit)DIGIT_BIT);
469 (1 << ((CHAR_BIT * sizeof (mp_word)) - (2 * DIGIT_BIT)))) {
996 if (b >= (int)DIGIT_BIT) {
997 mp_rshd (c, b / DIGIT_BIT);
1000 /* shift any bit count < DIGIT_BIT */
1001 D = (mp_digit) (b % DIGIT_BIT);
1009 shift = DIGIT_BIT - D;
1297 *tmpb-- = (*tmpa-- >> 1) | (r << (DIGIT_BIT - 1));
1328 if (c->alloc < (int)(c->used + b/DIGIT_BIT + 1)) {
1329 if ((res = mp_grow (c, c->used + b / DIGIT_BIT + 1)) != MP_OKAY) {
1335 if (b >= (int)DIGIT_BIT) {
1336 if ((res = mp_lshd (c, b / DIGIT_BIT)) != MP_OKAY) {
1341 /* shift any bit count < DIGIT_BIT */
1342 d = (mp_digit) (b % DIGIT_BIT);
1351 shift = DIGIT_BIT - d;
1489 r = (a->used - 1) * DIGIT_BIT;
1513 if (b >= (int) (a->used * DIGIT_BIT)) {
1524 for (x = (b / DIGIT_BIT) + ((b % DIGIT_BIT) == 0 ? 0 : 1); x < c->used; x++) {
1528 c->dp[b / DIGIT_BIT] &=
1529 (mp_digit) ((((mp_digit) 1) << (((mp_digit) b) % DIGIT_BIT)) - ((mp_digit) 1));
1742 bitcnt = (int) DIGIT_BIT;
1746 y = (buf >> (mp_digit)(DIGIT_BIT - 1)) & 1;
1859 (1 << (sizeof(mp_word) * CHAR_BIT - 2*DIGIT_BIT - 1))) {
1953 if ((res = mp_grow (a, b / DIGIT_BIT + 1)) != MP_OKAY) {
1958 a->used = b / DIGIT_BIT + 1;
1961 a->dp[b / DIGIT_BIT] = ((mp_digit)1) << (b % DIGIT_BIT);
1974 if ((res = mp_2expt (a, b->used * 2 * DIGIT_BIT)) != MP_OKAY) {
1999 if (((unsigned long) um) > (((mp_digit)1) << (DIGIT_BIT - 1))) {
2025 if ((res = mp_mod_2d (x, DIGIT_BIT * (um + 1), x)) != MP_OKAY) {
2079 (1 << ((CHAR_BIT * sizeof (mp_word)) - (2 * DIGIT_BIT)))) {
2118 u = (mp_digit) (r >> ((mp_word) DIGIT_BIT));
2196 _W = _W >> ((mp_word)DIGIT_BIT);
2275 u = (mp_digit)(r >> ((mp_word) DIGIT_BIT));
2296 u = (mp_digit)(r >> ((mp_word) DIGIT_BIT));
2302 u = (mp_digit)(r >> ((mp_word) DIGIT_BIT));
2327 && MIN (a->used, b->used) < (1 << ((CHAR_BIT * sizeof (mp_word)) - (2 * DIGIT_BIT)))) {
2362 u = (mp_digit) (r >> ((mp_word) DIGIT_BIT));