Lines Matching defs:bitoff
95 unsigned int bitoff = c->bitoff,
96 bitrem = bitoff % 8, inpgap = (8 - (unsigned int)bits % 8) & 7;
116 if (bitoff == 0 && (n = bits / WHIRLPOOL_BBLOCK)) {
121 unsigned int byteoff = bitoff / 8;
123 bitrem = WHIRLPOOL_BBLOCK - bitoff; /* re-use bitrem */
130 bitoff = 0;
133 bitoff += (unsigned int)bits;
136 c->bitoff = bitoff;
152 c->bitoff/8
155 unsigned int byteoff = bitoff / 8;
162 bitoff += inpgap;
163 bitrem = 0; /* bitoff%8 */
167 if (bitoff == WHIRLPOOL_BBLOCK) {
169 bitoff = 0;
171 c->bitoff = bitoff;
182 bitoff += 8;
185 if (bitoff >= WHIRLPOOL_BBLOCK) {
188 bitoff %= WHIRLPOOL_BBLOCK;
199 bitoff += (unsigned int)bits;
200 if (bitoff == WHIRLPOOL_BBLOCK) {
203 bitoff %= WHIRLPOOL_BBLOCK;
209 c->bitoff = bitoff;
216 unsigned int bitoff = c->bitoff, byteoff = bitoff / 8;
220 bitoff %= 8;
221 if (bitoff)
222 c->data[byteoff] |= 0x80 >> bitoff;