Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ssh/sshd/
H A Dsshd.c193 Key *server_key; /* ephemeral server key */ member
479 sensitive_data.server_key ? "new " : "", options.server_key_bits); in generate_ephemeral_server_key()
480 if (sensitive_data.server_key != NULL) in generate_ephemeral_server_key()
481 key_free(sensitive_data.server_key); in generate_ephemeral_server_key()
482 sensitive_data.server_key = key_generate(KEY_RSA1, in generate_ephemeral_server_key()
647 if (sensitive_data.server_key) { in destroy_sensitive_data()
648 key_free(sensitive_data.server_key); in destroy_sensitive_data()
649 sensitive_data.server_key = NULL; in destroy_sensitive_data()
668 if (sensitive_data.server_key) { in demote_sensitive_data()
669 tmp = key_demote(sensitive_data.server_key); in demote_sensitive_data()
[all …]
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dsshconnect1.c963 Key *host_key, *server_key; in ssh_kex() local
982 server_key = key_new(KEY_RSA1); in ssh_kex()
984 packet_get_bignum(server_key->rsa->e); in ssh_kex()
985 packet_get_bignum(server_key->rsa->n); in ssh_kex()
987 rbits = BN_num_bits(server_key->rsa->n); in ssh_kex()
1015 BN_num_bits(server_key->rsa->n), BN_num_bits(host_key->rsa->n)); in ssh_kex()
1022 compute_session_id(session_id, cookie, host_key->rsa->n, server_key->rsa->n); in ssh_kex()
1059 if (BN_cmp(server_key->rsa->n, host_key->rsa->n) < 0) { in ssh_kex()
1062 BN_num_bits(server_key->rsa->n) + SSH_KEY_BITS_RESERVED) { in ssh_kex()
1066 BN_num_bits(server_key->rsa->n), in ssh_kex()
[all …]
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Ddo_as_req.c75 krb5_key_data *server_key, *client_key; in process_as_req() local
340 &server_key))) { in process_as_req()
348 server_key, &encrypting_key, in process_as_req()
361 ticket_reply.enc_part.kvno = server_key->key_data_kvno; in process_as_req()
H A Ddo_tgs_req.c85 krb5_key_data *server_key; in process_tgs_req() local
616 &server_key))) { in process_tgs_req()
624 server_key, &encrypting_key, in process_tgs_req()
636 ticket_reply.enc_part.kvno = server_key->key_data_kvno; in process_tgs_req()
H A Dkdc_util.c392 krb5_key_data * server_key; in kdc_get_server_key() local
418 ticket->enc_part.kvno, &server_key); in kdc_get_server_key()
421 if (!server_key) { in kdc_get_server_key()
425 *kvno = server_key->key_data_kvno; in kdc_get_server_key()
428 server_key, in kdc_get_server_key()
/titanic_41/usr/src/cmd/nscd/
H A Dnscd_frontend.c79 static thread_key_t server_key; variable
94 (void) thr_setspecific(server_key, value); in server_tsd_bind()
1160 if (thr_keycreate(&server_key, server_destroy) != 0) { in _nscd_setup_server()
1291 if (thr_keycreate(&server_key, server_destroy) != 0) { in _nscd_setup_child_server()
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_srv.c687 unsigned char *dh_pubkey = NULL, *server_key = NULL; in pkinit_server_return_padata() local
799 &server_key, &server_key_len); in pkinit_server_return_padata()
809 retval = pkinit_octetstring2key(context, enctype, server_key, in pkinit_server_return_padata()
1044 if (server_key != NULL) in pkinit_server_return_padata()
1045 free(server_key); in pkinit_server_return_padata()
H A Dpkinit_crypto.h364 unsigned char **server_key, /* OUT
H A Dpkinit_crypto_openssl.c2413 unsigned char **server_key, in server_process_dh() argument
2447 if ((*server_key = (unsigned char *) malloc((size_t)*server_key_len)) == NULL) in server_process_dh()
2449 DH_compute_key(*server_key, dh->pub_key, dh_server); in server_process_dh()
2456 print_buffer(*server_key, *server_key_len); in server_process_dh()
2486 if (*server_key != NULL) in server_process_dh()
2487 free(*server_key); in server_process_dh()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpac.c988 const krb5_keyblock *server_key,
1008 server_key, &server_cksumtype);
1037 server_key, KRB5_KEYUSAGE_APP_DATA_CKSUM,
/titanic_41/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c215 static thread_key_t server_key; variable
235 (void) thr_setspecific(server_key, value); in server_tsd_bind()
494 if (thr_keycreate(&server_key, server_destroy) != 0) {