Home
last modified time | relevance | path

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

/openssh-portable/
H A Dhostfile.c162 hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) in hostfile_read_key() argument
179 if (bitsp != NULL) in hostfile_read_key()
180 *bitsp = sshkey_size(ret); in hostfile_read_key()
H A Dssh-keygen.c181 type_bits_valid(int type, const char *name, u_int32_t *bitsp) in type_bits_valid() argument
185 if (*bitsp == 0) { in type_bits_valid()
191 *bitsp = DEFAULT_BITS_DSA; in type_bits_valid()
196 *bitsp = sshkey_curve_nid_to_bits(nid); in type_bits_valid()
197 if (*bitsp == 0) in type_bits_valid()
198 *bitsp = DEFAULT_BITS_ECDSA; in type_bits_valid()
201 *bitsp = DEFAULT_BITS; in type_bits_valid()
209 if (*bitsp != 1024) in type_bits_valid()
213 if (*bitsp < SSH_RSA_MINIMUM_MODULUS_SIZE) in type_bits_valid()
216 else if (*bitsp > OPENSSL_RSA_MAX_MODULUS_BITS) in type_bits_valid()
[all …]

Completed in 14 milliseconds