Searched refs:kex_params (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/openssh/regress/unittests/kex/ |
H A D | test_kex.c | 84 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()
|
/freebsd/crypto/openssh/ |
H A D | ssh_api.h | 33 struct kex_params { struct 43 int ssh_init(struct ssh **, int is_server, struct kex_params *kex_params); argument
|
H A D | ssh_api.c | 87 ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) in ssh_init() argument 107 proposal = kex_params ? kex_params->proposal : myproposal; in ssh_init()
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | kex_fuzz.cc | 180 struct kex_params kex_params; in do_kex_with_key() local 220 memcpy(kex_params.proposal, myproposal, sizeof(myproposal)); in do_kex_with_key() 221 if ((r = ssh_init(&client, 0, &kex_params)) != 0) { in do_kex_with_key() 225 if ((r = ssh_init(&server, 1, &kex_params)) != 0) { in do_kex_with_key()
|