Home
last modified time | relevance | path

Searched refs:kex_params (Results 1 – 4 of 4) sorted by relevance

/external/openssh/regress/unittests/kex/
Dtest_kex.c84 struct kex_params kex_params; in do_kex_with_key() local
97 memcpy(kex_params.proposal, myproposal, sizeof(myproposal)); in do_kex_with_key()
99 kex_params.proposal[PROPOSAL_KEX_ALGS] = kex; in do_kex_with_key()
102 kex_params.proposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = keyname; in do_kex_with_key()
103 ASSERT_INT_EQ(ssh_init(&client, 0, &kex_params), 0); in do_kex_with_key()
104 ASSERT_INT_EQ(ssh_init(&server, 1, &kex_params), 0); in do_kex_with_key()
/external/openssh/
Dssh_api.h33 struct kex_params { struct
43 int ssh_init(struct ssh **, int is_server, struct kex_params *kex_params); argument
Dssh_api.c86 ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) in ssh_init() argument
105 proposal = kex_params ? kex_params->proposal : myproposal; in ssh_init()
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c204 struct kex_params kex_params; in do_kex_with_key() local
214 memcpy(kex_params.proposal, myproposal, sizeof(myproposal)); in do_kex_with_key()
216 kex_params.proposal[PROPOSAL_KEX_ALGS] = strdup(kex); in do_kex_with_key()
219 kex_params.proposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = keyname; in do_kex_with_key()
220 ASSERT_INT_EQ(ssh_init(&client, 0, &kex_params), 0); in do_kex_with_key()
221 ASSERT_INT_EQ(ssh_init(&server, 1, &kex_params), 0); in do_kex_with_key()