Lines Matching defs:bits
61 /* Number of bits in the RSA/DSA key. This value can be set on the command line. */
65 u_int32_t bits = 0;
212 fprintf(stderr, "key bits exceeds maximum %d\n", maxbits);
216 fatal("DSA keys must be 1024 bits");
218 fatal("Key must at least be 768 bits");
221 "256, 384 or 521 bits");
986 bits = 0;
987 type_bits_valid(type, NULL, &bits);
988 if ((r = sshkey_generate(type, bits, &private)) != 0) {
2201 "usage: ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa | rsa1]\n"
2219 " ssh-keygen -G output_file [-v] [-b bits] [-M memory] [-S start_point]\n"
2288 bits = (u_int32_t)strtonum(optarg, 256, 32768, &errstr);
2290 fatal("Bits has bad value %s (%s)",
2465 /* XXX - also compare length against bits */
2577 if (bits == 0)
2578 bits = DEFAULT_BITS;
2579 if (gen_candidates(out, memory, bits, start) != 0)
2618 type_bits_valid(type, key_type_name, &bits);
2623 if ((r = sshkey_generate(type, bits, &private)) != 0) {