Lines Matching refs:bitsp
179 type_bits_valid(int type, const char *name, u_int32_t *bitsp)
183 if (*bitsp == 0) {
189 *bitsp = DEFAULT_BITS_DSA;
194 *bitsp = sshkey_curve_nid_to_bits(nid);
195 if (*bitsp == 0)
196 *bitsp = DEFAULT_BITS_ECDSA;
199 *bitsp = DEFAULT_BITS;
207 if (*bitsp != 1024)
211 if (*bitsp < SSH_RSA_MINIMUM_MODULUS_SIZE)
214 else if (*bitsp > OPENSSL_RSA_MAX_MODULUS_BITS)
219 if (sshkey_ecdsa_bits_to_nid(*bitsp) == -1)