HomeSort by: relevance | last modified time | path
    Searched defs:DIGIT_BIT (Results 1 - 5 of 5) sorted by relevancy

  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
tommath.h 59 * A "mp_digit" must be able to hold DIGIT_BIT + 1 bits
60 * A "mp_word" must be able to hold 2*DIGIT_BIT + 1 bits
81 #define DIGIT_BIT 60
101 #define DIGIT_BIT 31
104 #define DIGIT_BIT 28
128 #ifndef DIGIT_BIT
129 #define DIGIT_BIT ((int)((CHAR_BIT * sizeof(mp_digit) - 1))) /* bits per digit */
132 #define MP_DIGIT_BIT DIGIT_BIT
133 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
178 #define MP_WARRAY (1 << (sizeof(mp_word) * CHAR_BIT - 2 * DIGIT_BIT + 1)
    [all...]
  /src/external/bsd/wpa/dist/src/tls/
libtommath.c 68 #define DIGIT_BIT 60
74 #define DIGIT_BIT 28
84 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
115 #define MP_WARRAY (1 << (sizeof(mp_word) * CHAR_BIT - 2 * DIGIT_BIT + 1))
263 u = *tmpc >> ((mp_digit)DIGIT_BIT);
278 u = *tmpc >> ((mp_digit)DIGIT_BIT);
514 (1 << ((CHAR_BIT * sizeof (mp_word)) - (2 * DIGIT_BIT)))) {
1052 if (b >= (int)DIGIT_BIT) {
1053 mp_rshd (c, b / DIGIT_BIT);
1056 /* shift any bit count < DIGIT_BIT */
    [all...]
  /src/sbin/nvmectl/
bignum.c 72 #define DIGIT_BIT 28
73 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
75 #define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
264 if (c->alloc < (int)(c->used + b/DIGIT_BIT + 1)) {
265 if ((res = mp_grow(c, c->used + b / DIGIT_BIT + 1)) != MP_OKAY) {
271 if (b >= (int)DIGIT_BIT) {
272 if ((res = lshift_digits(c, b / DIGIT_BIT)) != MP_OKAY) {
277 /* shift any bit count < DIGIT_BIT */
278 d = (mp_digit) (b % DIGIT_BIT);
287 shift = DIGIT_BIT - d
    [all...]
  /src/crypto/external/bsd/netpgp/dist/src/libbn/
bignum.c 79 #define DIGIT_BIT 28
80 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
82 #define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
294 if (c->alloc < (int)(c->used + b/DIGIT_BIT + 1)) {
295 if ((res = mp_grow (c, c->used + b / DIGIT_BIT + 1)) != MP_OKAY) {
301 if (b >= (int)DIGIT_BIT) {
302 if ((res = mp_lshd (c, b / DIGIT_BIT)) != MP_OKAY) {
307 /* shift any bit count < DIGIT_BIT */
308 d = (mp_digit) (b % DIGIT_BIT);
317 shift = DIGIT_BIT - d
    [all...]
  /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
bignum.c 76 #define DIGIT_BIT 28
77 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
79 #define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
268 if (c->alloc < (int)(c->used + b/DIGIT_BIT + 1)) {
269 if ((res = mp_grow(c, c->used + b / DIGIT_BIT + 1)) != MP_OKAY) {
275 if (b >= (int)DIGIT_BIT) {
276 if ((res = lshift_digits(c, b / DIGIT_BIT)) != MP_OKAY) {
281 /* shift any bit count < DIGIT_BIT */
282 d = (mp_digit) (b % DIGIT_BIT);
291 shift = DIGIT_BIT - d
    [all...]

Completed in 30 milliseconds