Lines Matching refs:bitoff
88 unsigned int bitoff = c->bitoff,
89 bitrem = bitoff % 8, inpgap = (8 - (unsigned int)bits % 8) & 7;
109 if (bitoff == 0 && (n = bits / WHIRLPOOL_BBLOCK)) {
114 unsigned int byteoff = bitoff / 8;
116 bitrem = WHIRLPOOL_BBLOCK - bitoff; /* re-use bitrem */
123 bitoff = 0;
126 bitoff += (unsigned int)bits;
129 c->bitoff = bitoff;
145 c->bitoff/8
148 unsigned int byteoff = bitoff / 8;
155 bitoff += inpgap;
156 bitrem = 0; /* bitoff%8 */
160 if (bitoff == WHIRLPOOL_BBLOCK) {
162 bitoff = 0;
164 c->bitoff = bitoff;
175 bitoff += 8;
178 if (bitoff >= WHIRLPOOL_BBLOCK) {
181 bitoff %= WHIRLPOOL_BBLOCK;
192 bitoff += (unsigned int)bits;
193 if (bitoff == WHIRLPOOL_BBLOCK) {
196 bitoff %= WHIRLPOOL_BBLOCK;
202 c->bitoff = bitoff;
209 unsigned int bitoff = c->bitoff, byteoff = bitoff / 8;
213 bitoff %= 8;
214 if (bitoff)
215 c->data[byteoff] |= 0x80 >> bitoff;