Searched refs:server_host_key (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | kexdhc.c | 48 Key *server_host_key; in kexdh_client() local 73 server_host_key = key_from_blob(server_host_key_blob, sbloblen); in kexdh_client() 74 if (server_host_key == NULL) in kexdh_client() 76 if (server_host_key->type != kex->hostkey_type) in kexdh_client() 80 if (kex->verify_host_key(server_host_key) == -1) in kexdh_client() 129 if (key_verify(server_host_key, signature, slen, hash, 20) != 1) in kexdh_client() 131 key_free(server_host_key); in kexdh_client()
|
H A D | kexgexc.c | 49 Key *server_host_key; in kexgex_client() local 118 server_host_key = key_from_blob(server_host_key_blob, sbloblen); in kexgex_client() 119 if (server_host_key == NULL) in kexgex_client() 121 if (server_host_key->type != kex->hostkey_type) in kexgex_client() 125 if (kex->verify_host_key(server_host_key) == -1) in kexgex_client() 180 if (key_verify(server_host_key, signature, slen, hash, 20) != 1) in kexgex_client() 182 key_free(server_host_key); in kexgex_client()
|
H A D | kexdhs.c | 48 Key *server_host_key; in kexdh_server() local 62 server_host_key = kex->load_host_key(kex->hostkey_type); in kexdh_server() 63 if (server_host_key == NULL) in kexdh_server() 100 key_to_blob(server_host_key, &server_host_key_blob, &sbloblen); in kexdh_server() 125 key_sign(server_host_key, &signature, &slen, hash, 20); in kexdh_server()
|
H A D | kexgexs.c | 48 Key *server_host_key; in kexgex_server() local 56 server_host_key = kex->load_host_key(kex->hostkey_type); in kexgex_server() 57 if (server_host_key == NULL) in kexgex_server() 140 key_to_blob(server_host_key, &server_host_key_blob, &sbloblen); in kexgex_server() 170 key_sign(server_host_key, &signature, &slen, hash, 20); in kexgex_server()
|
H A D | kexgsss.c | 66 Key *server_host_key = NULL; in kexgss_server() local 80 server_host_key = kex->load_host_key(kex->hostkey_type); in kexgss_server() 81 if (server_host_key != NULL) in kexgss_server() 82 key_to_blob(server_host_key, &server_host_key_blob, &sbloblen); in kexgss_server()
|
H A D | kexgssc.c | 68 Key *server_host_key = NULL; in kexgss_client() local 180 server_host_key = in kexgss_client() 294 if (server_host_key && kex->accept_host_key != NULL) in kexgss_client() 295 (void) kex->accept_host_key(server_host_key); in kexgss_client()
|