Home | History | Annotate | Download | only in crypto

Lines Matching defs:is_zero

49   uint32 is_zero = 0, is_p = 0;
51 is_zero |= minimal[i];
55 // If either is_zero or is_p is 0, then we should return 1.
56 is_zero |= is_zero >> 16;
57 is_zero |= is_zero >> 8;
58 is_zero |= is_zero >> 4;
59 is_zero |= is_zero >> 2;
60 is_zero |= is_zero >> 1;
68 // For is_zero and is_p, the LSB is 0 iff all the bits are zero.
69 is_zero &= is_p & 1;
70 is_zero = (~is_zero) << 31;
71 is_zero = static_cast<int32>(is_zero) >> 31;
72 return is_zero;