Lines Matching defs:bitsp
173 type_bits_valid(int type, const char *name, u_int32_t *bitsp)
177 if (*bitsp == 0) {
183 *bitsp = DEFAULT_BITS_DSA;
188 *bitsp = sshkey_curve_nid_to_bits(nid);
189 if (*bitsp == 0)
190 *bitsp = DEFAULT_BITS_ECDSA;
193 *bitsp = DEFAULT_BITS;
201 if (*bitsp != 1024)
205 if (*bitsp < SSH_RSA_MINIMUM_MODULUS_SIZE)
208 else if (*bitsp > OPENSSL_RSA_MAX_MODULUS_BITS)
213 if (sshkey_ecdsa_bits_to_nid(*bitsp) == -1)