Lines Matching defs:bits
81 unsigned int parity = 0, bits[OTP_WORDS_NUMBER], tmp;
92 buffer_create_from_data(&buf, bits, sizeof(bits));
133 hash[0] = bits[0] >> 3;
134 hash[1] = ((bits[0] & 7) << 5) | (bits[1] >> 6);
135 hash[2] = ((bits[1] & 0x3f) << 2) | (bits[2] >> 9);
136 hash[3] = (bits[2] >> 1) & 0xff;
137 hash[4] = ((bits[2] & 3) << 7) | (bits[3] >> 4);
138 hash[5] = ((bits[3] & 15) << 4) | (bits[4] >> 7);
139 hash[6] = ((bits[4] & 0x7f) << 1) | (bits[5] >> 10);
140 hash[7] = (bits[5] >> 2) & 0xff;
141 parity = bits[5] & 3;