Home | History | Annotate | Download | only in openssh

Lines Matching full:bitsp

160 type_bits_valid(int type, u_int32_t *bitsp)
168 if (*bitsp == 0) {
170 *bitsp = DEFAULT_BITS_DSA;
172 *bitsp = DEFAULT_BITS_ECDSA;
174 *bitsp = DEFAULT_BITS;
178 if (*bitsp > maxbits) {
182 if (type == KEY_DSA && *bitsp != 1024)
184 else if (type != KEY_ECDSA && *bitsp < 768)
186 else if (type == KEY_ECDSA && key_ecdsa_bits_to_nid(*bitsp) == -1)