Home | History | Annotate | Download | only in crypto

Lines Matching refs:is_zero

65   uint32_t is_zero = 0, is_p = 0;
67 is_zero |= minimal[i];
71 // If either is_zero or is_p is 0, then we should return 1.
72 is_zero |= is_zero >> 16;
73 is_zero |= is_zero >> 8;
74 is_zero |= is_zero >> 4;
75 is_zero |= is_zero >> 2;
76 is_zero |= is_zero >> 1;
84 // For is_zero and is_p, the LSB is 0 iff all the bits are zero.
85 is_zero &= is_p & 1;
86 is_zero = (~is_zero) << 31;
87 is_zero = static_cast<int32_t>(is_zero) >> 31;
88 return is_zero;