Lines Matching refs:bitoff
89 unsigned int bitoff = c->bitoff,
90 bitrem = bitoff % 8, inpgap = (8 - (unsigned int)bits % 8) & 7;
110 if (bitoff == 0 && (n = bits / WHIRLPOOL_BBLOCK)) {
115 unsigned int byteoff = bitoff / 8;
117 bitrem = WHIRLPOOL_BBLOCK - bitoff; /* re-use bitrem */
124 bitoff = 0;
127 bitoff += (unsigned int)bits;
130 c->bitoff = bitoff;
146 c->bitoff/8
149 unsigned int byteoff = bitoff / 8;
156 bitoff += inpgap;
157 bitrem = 0; /* bitoff%8 */
161 if (bitoff == WHIRLPOOL_BBLOCK) {
163 bitoff = 0;
165 c->bitoff = bitoff;
176 bitoff += 8;
179 if (bitoff >= WHIRLPOOL_BBLOCK) {
182 bitoff %= WHIRLPOOL_BBLOCK;
193 bitoff += (unsigned int)bits;
194 if (bitoff == WHIRLPOOL_BBLOCK) {
197 bitoff %= WHIRLPOOL_BBLOCK;
203 c->bitoff = bitoff;
210 unsigned int bitoff = c->bitoff, byteoff = bitoff / 8;
214 bitoff %= 8;
215 if (bitoff)
216 c->data[byteoff] |= 0x80 >> bitoff;