Searched refs:bitsp (Results 1 – 2 of 2) sorted by relevance
158 hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) in hostfile_read_key() argument175 if (bitsp != NULL) in hostfile_read_key()176 *bitsp = sshkey_size(ret); in hostfile_read_key()
175 type_bits_valid(int type, const char *name, uint32_t *bitsp) in type_bits_valid() argument179 if (*bitsp == 0) { in type_bits_valid()187 *bitsp = sshkey_curve_nid_to_bits(nid); in type_bits_valid()188 if (*bitsp == 0) in type_bits_valid()189 *bitsp = DEFAULT_BITS_ECDSA; in type_bits_valid()192 *bitsp = DEFAULT_BITS; in type_bits_valid()200 if (*bitsp < SSH_RSA_MINIMUM_MODULUS_SIZE) in type_bits_valid()203 else if (*bitsp > OPENSSL_RSA_MAX_MODULUS_BITS) in type_bits_valid()208 if (sshkey_ecdsa_bits_to_nid(*bitsp) == -1) in type_bits_valid()