Home
last modified time | relevance | path

Searched refs:bitsp (Results 1 – 2 of 2) sorted by relevance

/openssh-portable/
H A Dssh-keygen.c176 type_bits_valid(int type, const char *name, u_int32_t *bitsp) in type_bits_valid() argument
180 if (*bitsp == 0) { in type_bits_valid()
186 *bitsp = DEFAULT_BITS_DSA; in type_bits_valid()
191 *bitsp = sshkey_curve_nid_to_bits(nid); in type_bits_valid()
192 if (*bitsp == 0) in type_bits_valid()
193 *bitsp = DEFAULT_BITS_ECDSA; in type_bits_valid()
196 *bitsp = DEFAULT_BITS; in type_bits_valid()
204 if (*bitsp != 1024) in type_bits_valid()
208 if (*bitsp < SSH_RSA_MINIMUM_MODULUS_SIZE) in type_bits_valid()
211 else if (*bitsp > OPENSSL_RSA_MAX_MODULUS_BITS) in type_bits_valid()
[all …]
H A Dhostfile.c163 hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) in hostfile_read_key() argument
180 if (bitsp != NULL) in hostfile_read_key()
181 *bitsp = sshkey_size(ret); in hostfile_read_key()

Completed in 7 milliseconds