Home
last modified time | relevance | path

Searched refs:hostkey (Results 1 – 18 of 18) sorted by relevance

/external/dropbear/
Dcli-kex.c63 sign_key *hostkey = NULL; in recv_msg_kexdh_reply() local
77 hostkey = new_sign_key(); in recv_msg_kexdh_reply()
86 if (buf_get_pub_key(ses.payload, hostkey, &type) != DROPBEAR_SUCCESS) { in recv_msg_kexdh_reply()
96 kexdh_comb_key(cli_ses.dh_e, cli_ses.dh_x, &dh_f, hostkey); in recv_msg_kexdh_reply()
102 if (buf_verify(ses.payload, hostkey, ses.hash, SHA1_HASH_SIZE) in recv_msg_kexdh_reply()
107 sign_key_free(hostkey); in recv_msg_kexdh_reply()
108 hostkey = NULL; in recv_msg_kexdh_reply()
Dsvr-runopts.c113 svr_opts.hostkey = NULL; in svr_getopts()
327 svr_opts.hostkey = new_sign_key(); in loadhostkeys()
331 ret = readhostkey(svr_opts.rsakeyfile, svr_opts.hostkey, &type); in loadhostkeys()
338 ret = readhostkey(svr_opts.dsskeyfile, svr_opts.hostkey, &type); in loadhostkeys()
346 && svr_opts.hostkey->dsskey == NULL in loadhostkeys()
349 && svr_opts.hostkey->rsakey == NULL in loadhostkeys()
Dsvr-kex.c84 kexdh_comb_key(&dh_f, &dh_y, dh_e, svr_opts.hostkey); in send_msg_kexdh_reply()
90 buf_put_pub_key(ses.writepayload, svr_opts.hostkey, in send_msg_kexdh_reply()
98 buf_put_sign(ses.writepayload, svr_opts.hostkey, in send_msg_kexdh_reply()
Dcommon-runopts.c36 int readhostkey(const char * filename, sign_key * hostkey, int *type) { in readhostkey() argument
47 if (buf_get_priv_key(buf, hostkey, type) == DROPBEAR_FAILURE) { in readhostkey()
Drunopts.h44 int readhostkey(const char * filename, sign_key * hostkey, int *type);
85 sign_key *hostkey; member
Dkex.h38 sign_key *hostkey);
Dcommon-kex.c515 sign_key *hostkey) { in kexdh_comb_key() argument
553 buf_put_pub_key(ses.kexhashbuf, hostkey, ses.newkeys->algo_hostkey); in kexdh_comb_key()
Dsvr-chansession.c881 sign_key_free(svr_opts.hostkey); in execchild()
882 svr_opts.hostkey = NULL; in execchild()
DCHANGES4 mismatching hostkey but wouldn't warn loudly. It will now
256 - Fixed stupid DSS hostkey typo (server couldn't load host keys)
431 - Default hostkey path changed to /etc/dropbear/dropbear_{rsa,dss}_host_key
579 - Fixed bug in specifying the rsa hostkey
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/
DKexManager.java354 private boolean verifySignature(byte[] sig, byte[] hostkey) throws IOException in verifySignature() argument
359 RSAPublicKey rpk = RSASHA1Verify.decodeSSHRSAPublicKey(hostkey); in verifySignature()
369 DSAPublicKey dpk = DSASHA1Verify.decodeSSHDSAPublicKey(hostkey); in verifySignature()
507 sci.serverHostKey = kxs.hostkey; in handleMessage()
539 kxs.hostkey = dhgexrpl.getHostKey(); in handleMessage()
547 vres = verifier.verifyServerHostKey(hostname, port, kxs.np.server_host_key_algo, kxs.hostkey); in handleMessage()
572 boolean res = verifySignature(dhgexrpl.getSignature(), kxs.hostkey); in handleMessage()
595 kxs.hostkey = dhr.getHostKey(); in handleMessage()
603 vres = verifier.verifyServerHostKey(hostname, port, kxs.np.server_host_key_algo, kxs.hostkey); in handleMessage()
627 boolean res = verifySignature(dhr.getSignature(), kxs.hostkey); in handleMessage()
DKexState.java29 public byte[] hostkey; field in KexState
/external/openssh/
Ddns.c176 Key *hostkey, int *flags) in verify_host_key_dns() argument
195 if (hostkey == NULL) in verify_host_key_dns()
226 &hostkey_digest, &hostkey_digest_len, hostkey)) { in verify_host_key_dns()
Dssh-keyscan.c219 hostjump(Key *hostkey) in hostjump() argument
221 kexjmp_key = hostkey; in hostjump()
DChangeLog290 [cert-hostkey.sh]
602 - (tim) [regress/cert-hostkey.sh] Typo. Missing $ on variable name.
603 - (tim) [regress/cert-hostkey.sh] Add missing TEST_SSH_ECC guard around some
670 - (djm) [regress/cert-hostkey.sh regress/cert-userkey.sh] fix shell test
819 hostkey warnings when connecting to servers with new ECDSA keys
940 - (dtucker) [regress/cert-hostkey.sh] Disable ECC-based tests on platforms
959 [regress/cert-hostkey.sh regress/cert-userkey.sh]
1654 [regress/cert-hostkey.sh regress/cert-userkey.sh]
Dsshconnect2.c98 verify_host_key_callback(Key *hostkey) in verify_host_key_callback() argument
100 if (verify_host_key(xxx_host, xxx_hostaddr, hostkey) == -1) in verify_host_key_callback()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DKnownHosts.java805 static private byte[] rawFingerPrint(String type, String keyType, byte[] hostkey) in rawFingerPrint() argument
833 if (hostkey == null) in rawFingerPrint()
838 dig.update(hostkey); in rawFingerPrint()
/external/ganymed-ssh2/
DHISTORY.txt260 The class includes support for hostkey comparison as well as functionality to add accepted keys
267 - It is now possible to override the default server hostkey algorithm order (for the key exchange)
271 The used server hostkey algorithm is now also reflected in ConnectionInfo.
273 - The default server hostkey algorithm order is now "ssh-rsa", "ssh-dss".
/external/openssh/regress/
DMakefile58 cert-hostkey \