Home
last modified time | relevance | path

Searched refs:server_key (Results 1 – 9 of 9) sorted by relevance

/external/openssh/
Dkexecdhs.c66 EC_KEY *server_key = NULL; in input_kex_ecdh_init() local
78 if ((server_key = EC_KEY_new_by_curve_name(kex->ec_nid)) == NULL) { in input_kex_ecdh_init()
82 if (EC_KEY_generate_key(server_key) != 1) { in input_kex_ecdh_init()
86 group = EC_KEY_get0_group(server_key); in input_kex_ecdh_init()
90 sshkey_dump_ec_key(server_key); in input_kex_ecdh_init()
132 server_key, NULL) != (int)klen || in input_kex_ecdh_init()
155 EC_KEY_get0_public_key(server_key), in input_kex_ecdh_init()
178 public_key = EC_KEY_get0_public_key(server_key); in input_kex_ecdh_init()
195 if (server_key) in input_kex_ecdh_init()
196 EC_KEY_free(server_key); in input_kex_ecdh_init()
Dkexc25519s.c62 u_char server_key[CURVE25519_SIZE]; in input_kex_c25519_init() local
70 kexc25519_keygen(server_key, server_pubkey); in input_kex_c25519_init()
72 dump_digest("server private key:", server_key, sizeof(server_key)); in input_kex_c25519_init()
103 if ((r = kexc25519_shared_key(server_key, client_pubkey, in input_kex_c25519_init()
153 explicit_bzero(server_key, sizeof(server_key)); in input_kex_c25519_init()
Dsshconnect1.c498 Key *host_key, *server_key; in ssh_kex() local
517 server_key = key_new(KEY_RSA1); in ssh_kex()
519 packet_get_bignum(server_key->rsa->e); in ssh_kex()
520 packet_get_bignum(server_key->rsa->n); in ssh_kex()
522 rbits = BN_num_bits(server_key->rsa->n); in ssh_kex()
550 BN_num_bits(server_key->rsa->n), BN_num_bits(host_key->rsa->n)); in ssh_kex()
557 derive_ssh1_session_id(host_key->rsa->n, server_key->rsa->n, cookie, session_id); in ssh_kex()
597 if (BN_cmp(server_key->rsa->n, host_key->rsa->n) < 0) { in ssh_kex()
600 BN_num_bits(server_key->rsa->n) + SSH_KEY_BITS_RESERVED) { in ssh_kex()
604 BN_num_bits(server_key->rsa->n), in ssh_kex()
[all …]
Dsshd.c205 Key *server_key; /* ephemeral server key */ member
389 sensitive_data.server_key ? "new " : "", options.server_key_bits); in generate_ephemeral_server_key()
390 if (sensitive_data.server_key != NULL) in generate_ephemeral_server_key()
391 key_free(sensitive_data.server_key); in generate_ephemeral_server_key()
392 sensitive_data.server_key = key_generate(KEY_RSA1, in generate_ephemeral_server_key()
563 if (sensitive_data.server_key) { in destroy_sensitive_data()
564 key_free(sensitive_data.server_key); in destroy_sensitive_data()
565 sensitive_data.server_key = NULL; in destroy_sensitive_data()
588 if (sensitive_data.server_key) { in demote_sensitive_data()
589 tmp = key_demote(sensitive_data.server_key); in demote_sensitive_data()
[all …]
/external/autotest/client/common_lib/cros/network/
Dxmlrpc_security_types.py317 server_ca_cert=None, server_cert=None, server_key=None, argument
342 self.server_key = server_key
376 (self.server_key, self.server_key_file),
455 server_ca_cert=None, server_cert=None, server_key=None, argument
476 server_key=server_key, client_ca_cert=client_ca_cert,
506 server_ca_cert=None, server_cert=None, server_key=None, argument
530 server_key=server_key, client_ca_cert=client_ca_cert,
572 def __init__(self, server_ca_cert, server_cert, server_key, argument
592 server_key=server_key,
/external/autotest/server/site_tests/network_WiFi_SimpleConnect/
Dcontrol.wifi_check1x_WPA32 server_key=site_eap_certs.server_private_key_1,
47 server_key=site_eap_certs.server_private_key_1,
63 server_key=site_eap_certs.server_private_key_1,
79 server_key=site_eap_certs.server_private_key_1,
95 server_key=site_eap_certs.server_private_key_1,
111 server_key=site_eap_certs.server_expired_key,
Dcontrol.wifi_check1x_WEP31 server_key=site_eap_certs.server_private_key_1,
/external/autotest/server/site_tests/network_WiFi_Roam/
Dcontrol.wifi_roam1xTLS29 server_key=site_eap_certs.server_private_key_1,
/external/autotest/server/site_tests/network_WiFi_PMKSACaching/
Dnetwork_WiFi_PMKSACaching.py66 server_key=site_eap_certs.server_private_key_1,