Lines Matching refs:bits
206 static char *add_char(const char *start, char *pos, u8 idx, size_t *bits) in add_char() argument
208 if (*bits == 0) { in add_char()
211 if (*bits > 5) { in add_char()
212 *bits -= 5; in add_char()
214 *bits = 0; in add_char()
386 int bits; in sae_pk_set_password() local
416 bits = tmp->fingerprint_bits - 8 * tmp->sec; in sae_pk_set_password()
418 while (bits > 0) { in sae_pk_set_password()
427 if (bits < 8) { in sae_pk_set_password()
432 bits -= 8; in sae_pk_set_password()
435 if (bits > 0) { in sae_pk_set_password()
436 val >>= val_bits - bits; in sae_pk_set_password()
437 *pos++ = val << (8 - bits); in sae_pk_set_password()