Searched defs:BASEBITS (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libmp/common/
H A Dmult.c82 #define BASEBITS (8 * (unsigned int)sizeof (short) - 1) macro
83 #define BASE (1 << BASEBITS)
H A Dutil.c222 #define BASEBITS (8 * (unsigned int)sizeof (short) - 1) macro
229 hex = malloc((size_t) ((size * BASEBITS + 3)) / 4 + (size ? 1 : 2));
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Dgeneric_key.c46 #define BASEBITS (8 * sizeof (char)) macro
47 #define BASE (1 << BASEBITS)
113 MINT *base = mp_itom(BASE); /* We shift by BASEBITS */
124 * We will break up the private key into groups of BASEBITS where
125 * BASEBITS is equal to the number of bits in an integer type.
127 * We will calculate the number of BASEBITS units that we need so
130 len = ((keylen + BASEBITS - 1) / BASEBITS);
133 * Now for each BASEBITS we calculate a new random number.
/illumos-gate/usr/src/lib/libnsl/key/
H A Dgen_dhkeys.c119 #define BASEBITS (8 * sizeof (short) - 1) macro
120 #define BASE (1 << BASEBITS)
129 unsigned short seed[KEYSIZE/BASEBITS + 1];
138 for (i = 0; i < KEYSIZE/BASEBITS + 1; i++) {

Completed in 51 milliseconds