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.c86 struct kex_params kex_params; in do_kex_with_key() local
99 memcpy(kex_params.proposal, myproposal, sizeof(myproposal)); in do_kex_with_key()
101 kex_params.proposal[PROPOSAL_KEX_ALGS] = kex; in do_kex_with_key()
104 kex_params.proposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = keyname; in do_kex_with_key()
105 ASSERT_INT_EQ(ssh_init(&client, 0, &kex_params), 0); in do_kex_with_key()
106 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.c73 ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) in ssh_init() argument
94 proposal = kex_params ? kex_params->proposal : myproposal; in ssh_init()
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c206 struct kex_params kex_params; in do_kex_with_key() local
216 memcpy(kex_params.proposal, myproposal, sizeof(myproposal)); in do_kex_with_key()
218 kex_params.proposal[PROPOSAL_KEX_ALGS] = strdup(kex); in do_kex_with_key()
221 kex_params.proposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = keyname; in do_kex_with_key()
222 ASSERT_INT_EQ(ssh_init(&client, 0, &kex_params), 0); in do_kex_with_key()
223 ASSERT_INT_EQ(ssh_init(&server, 1, &kex_params), 0); in do_kex_with_key()