Lines Matching full:uint32
131 // array of 8 uint32's. The value of a FieldElement, a, is:
137 type p224FieldElement [8]uint32
140 var p224P = [8]uint32{1, 0, 0, 0xffff000, 0xfffffff, 0xfffffff, 0xfffffff, 0xfffffff}
145 func p224IsZero(a *p224FieldElement) uint32 {
151 var isZero, isP uint32
193 var p224ZeroModP31 = []uint32{two31p3, two31m3, two31m3, two31m15m3, two31m3, two31m3, two31m3, two31m3}
283 out[i] = uint32(in[i] & bottom28Bits)
286 out[3] += uint32(in[8]&0xffff) << 12
287 out[4] += uint32(in[8] >> 16)
293 out[0] = uint32(in[0] & bottom28Bits)
294 out[1] += uint32((in[0] >> 28) & bottom28Bits)
295 out[2] += uint32(in[0] >> 56)
318 mask = uint32(int32(mask) >> 31)
405 mask := uint32(int32(out[i]) >> 31)
438 mask := uint32(int32(out[i]) >> 31)
449 top4AllOnes := uint32(0xffffffff)
460 top4AllOnes = uint32(int32(top4AllOnes<<31) >> 31)
469 bottom3NonZero = uint32(int32(bottom3NonZero<<31) >> 31)
483 out3Equal = ^uint32(int32(out3Equal<<31) >> 31)
486 out3GT := ^uint32(int32(n) >> 31)
642 func p224CopyConditional(out, in *p224FieldElement, control uint32) {
644 control = uint32(int32(control) >> 31)
662 bit := uint32((byte >> (7 - bitNum)) & 1)
693 func get28BitsFromEnd(buf []byte, shift uint) (uint32, []byte) {
694 var ret uint32
706 ret |= uint32(b) << (8 * i) >> shift