Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dhostfile.c158 hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) in hostfile_read_key() argument
175 if (bitsp != NULL) in hostfile_read_key()
176 *bitsp = sshkey_size(ret); in hostfile_read_key()
H A Dssh-keygen.c179 type_bits_valid(int type, const char *name, u_int32_t *bitsp) in type_bits_valid() argument
183 if (*bitsp == 0) { in type_bits_valid()
189 *bitsp = DEFAULT_BITS_DSA; in type_bits_valid()
194 *bitsp = sshkey_curve_nid_to_bits(nid); in type_bits_valid()
195 if (*bitsp == 0) in type_bits_valid()
196 *bitsp = DEFAULT_BITS_ECDSA; in type_bits_valid()
199 *bitsp = DEFAULT_BITS; in type_bits_valid()
207 if (*bitsp != 1024) in type_bits_valid()
211 if (*bitsp < SSH_RSA_MINIMUM_MODULUS_SIZE) in type_bits_valid()
214 else if (*bitsp > OPENSSL_RSA_MAX_MODULUS_BITS) in type_bits_valid()
[all …]