Searched defs:mp_digit (Results 1 - 4 of 4) sorted by relevance
/external/dropbear/libtommath/mtest/ |
H A D | mpi-types.h | 3 typedef unsigned short mp_digit; /* 2 byte type */ typedef 8 #define MP_DIGIT_BIT (CHAR_BIT*sizeof(mp_digit))
|
/external/dropbear/libtommath/ |
H A D | tommath.h | 37 /* C++ compilers don't like assigning void * to mp_digit * */ 57 * A "mp_digit" must be able to hold DIGIT_BIT + 1 bits 60 * At the very least a mp_digit must be able to hold 7 bits 64 typedef unsigned char mp_digit; typedef 67 typedef unsigned short mp_digit; typedef 76 typedef unsigned long mp_digit; typedef 94 typedef unsigned long mp_digit; typedef 125 /* otherwise the bits per digit is calculated automatically from the size of a mp_digit */ 127 #define DIGIT_BIT ((int)((CHAR_BIT * sizeof(mp_digit) - 1))) /* bits per digit */ 131 #define MP_MASK ((((mp_digit) [all...] |
/external/wpa_supplicant/ |
H A D | libtommath.c | 46 typedef unsigned long mp_digit; typedef 58 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1)) 94 mp_digit *dp; 116 static void mp_set(mp_int * a, mp_digit b); 197 register mp_digit u, *tmpa, *tmpb, *tmpc; 218 u = *tmpc >> ((mp_digit)DIGIT_BIT); 233 u = *tmpc >> ((mp_digit)DIGIT_BIT); 273 register mp_digit [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
H A D | libtommath.c | 69 typedef unsigned long mp_digit; typedef 81 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1)) 117 mp_digit *dp; 143 static void mp_set(mp_int * a, mp_digit b); 180 static int mp_mul_d (mp_int * a, mp_digit b, mp_int * c); 237 register mp_digit u, *tmpa, *tmpb, *tmpc; 258 u = *tmpc >> ((mp_digit)DIGIT_BIT); 273 u = *tmpc >> ((mp_digit)DIGIT_BI [all...] |
Completed in 21 milliseconds