Searched refs:sshkey_generate (Results 1 – 6 of 6) sorted by relevance
/external/openssh/regress/unittests/sshkey/ |
D | test_sshkey.c | 265 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 128, &k1), in sshkey_tests() 271 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1 << 20, &k1), in sshkey_tests() 277 ASSERT_INT_EQ(sshkey_generate(KEY_DSA, 2048, &k1), in sshkey_tests() 285 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 42, &k1), in sshkey_tests() 293 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 767, &kr), in sshkey_tests() 295 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &kr), 0); in sshkey_tests() 305 ASSERT_INT_EQ(sshkey_generate(KEY_DSA, 1024, &kd), 0); in sshkey_tests() 314 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 256, &ke), 0); in sshkey_tests() 323 ASSERT_INT_EQ(sshkey_generate(KEY_ED25519, 256, &kf), 0); in sshkey_tests() 404 ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &k1), 0); in sshkey_tests() [all …]
|
/external/openssh/regress/unittests/kex/ |
D | test_kex.c | 91 ASSERT_INT_EQ(sshkey_generate(keytype, bits, &private), 0); in do_kex_with_key()
|
/external/openssh/ |
D | sshkey.h | 132 int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
|
D | key.c | 60 if ((r = sshkey_generate(type, bits, &ret)) != 0) in key_generate()
|
D | ssh-keygen.c | 1021 if ((r = sshkey_generate(type, bits, &private)) != 0) { in do_gen_all_hostkeys() 2650 if ((r = sshkey_generate(type, bits, &private)) != 0) in main()
|
D | sshkey.c | 1660 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate() function
|