OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hostkey
(Results
1 - 8
of
8
) sorted by null
/external/dropbear/
common-runopts.c
36
int readhostkey(const char * filename, sign_key *
hostkey
, int *type) {
47
if (buf_get_priv_key(buf,
hostkey
, type) == DROPBEAR_FAILURE) {
runopts.h
44
int readhostkey(const char * filename, sign_key *
hostkey
, int *type);
85
sign_key *
hostkey
;
member in struct:svr_runopts
kex.h
38
sign_key *
hostkey
);
svr-kex.c
84
kexdh_comb_key(&dh_f, &dh_y, dh_e, svr_opts.
hostkey
);
90
buf_put_pub_key(ses.writepayload, svr_opts.
hostkey
,
98
buf_put_sign(ses.writepayload, svr_opts.
hostkey
,
cli-kex.c
63
sign_key *
hostkey
= NULL;
local
77
hostkey
= new_sign_key();
86
if (buf_get_pub_key(ses.payload,
hostkey
, &type) != DROPBEAR_SUCCESS) {
96
kexdh_comb_key(cli_ses.dh_e, cli_ses.dh_x, &dh_f,
hostkey
);
102
if (buf_verify(ses.payload,
hostkey
, ses.hash, SHA1_HASH_SIZE)
104
dropbear_exit("Bad
hostkey
signature");
107
sign_key_free(
hostkey
);
108
hostkey
= NULL;
271
/* Now we're at the interesting
hostkey
*/
svr-runopts.c
113
svr_opts.
hostkey
= NULL;
327
svr_opts.
hostkey
= new_sign_key();
331
ret = readhostkey(svr_opts.rsakeyfile, svr_opts.
hostkey
, &type);
338
ret = readhostkey(svr_opts.dsskeyfile, svr_opts.
hostkey
, &type);
346
&& svr_opts.
hostkey
->dsskey == NULL
349
&& svr_opts.
hostkey
->rsakey == NULL
common-kex.c
515
sign_key *
hostkey
) {
553
buf_put_pub_key(ses.kexhashbuf,
hostkey
, ses.newkeys->algo_hostkey);
619
erralgo = "
hostkey
";
622
TRACE(("
hostkey
algo %s", algo->name))
svr-chansession.c
878
*
hostkey
. can't think of a workaround to clear it */
880
/* wipe the
hostkey
*/
881
sign_key_free(svr_opts.
hostkey
);
882
svr_opts.
hostkey
= NULL;
Completed in 272 milliseconds