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.c175 type_bits_valid(int type, const char *name, uint32_t *bitsp) in type_bits_valid() argument
179 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()