Searched refs:privatekey (Results 1 – 11 of 11) sorted by relevance
/openssl/ssl/ |
H A D | ssl_rsa.c | 145 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_set_pkey() 147 c->pkeys[i].privatekey = pkey; in ssl_set_pkey() 276 if (c->pkeys[i].privatekey != NULL) { in ssl_set_cert() 291 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_set_cert() 292 c->pkeys[i].privatekey = NULL; in ssl_set_cert() 1004 if (privatekey == NULL) { in ssl_set_cert_and_key() 1005 privatekey = pubkey; in ssl_set_cert_and_key() 1029 if (EVP_PKEY_eq(pubkey, privatekey) != 1) { in ssl_set_cert_and_key() 1062 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_set_cert_and_key() 1063 EVP_PKEY_up_ref(privatekey); in ssl_set_cert_and_key() [all …]
|
H A D | ssl_cert.c | 137 if (cpk->privatekey != NULL) { in ssl_cert_dup() 138 rpk->privatekey = cpk->privatekey; in ssl_cert_dup() 139 EVP_PKEY_up_ref(cpk->privatekey); in ssl_cert_dup() 248 EVP_PKEY_free(cpk->privatekey); in ssl_cert_clear_certs() 249 cpk->privatekey = NULL; in ssl_cert_clear_certs() 366 if (cpk->x509 == x && cpk->privatekey) { in ssl_cert_select_current() 374 if (cpk->privatekey && cpk->x509 && !X509_cmp(cpk->x509, x)) { in ssl_cert_select_current() 398 if (cpk->x509 && cpk->privatekey) { in ssl_cert_set_current()
|
H A D | t1_lib.c | 1830 if (s->cert->pkeys[real_idx].privatekey != NULL) { in tls1_get_legacy_sigalg() 1845 if (s->cert->pkeys[real_idx].privatekey != NULL) { in tls1_get_legacy_sigalg() 3295 pk = cpk->privatekey; in tls1_check_chain() 3574 dh_secbits = EVP_PKEY_get_security_bits(s->s3.tmp.cert->privatekey); in ssl_get_auto_dh() 3811 s->cert->pkeys[idx].privatekey); in has_usable_cert() 3865 : s->cert->pkeys[lu->sig_idx].privatekey; in find_sig_alg() 3930 .privatekey); in tls_choose_sigalg() 3954 EVP_PKEY *pkey = s->cert->pkeys[sig_idx].privatekey; in tls_choose_sigalg()
|
H A D | ssl_local.h | 1979 EVP_PKEY *privatekey; member 2435 && sc->cert->pkeys[idx].privatekey != NULL in tls12_rpk_and_privkey() 2466 return s->cert->pkeys[idx].privatekey != NULL; in ssl_has_cert() 2469 && s->cert->pkeys[idx].privatekey != NULL; in ssl_has_cert()
|
H A D | ssl_conf.c | 1060 if (p && !c->pkeys[i].privatekey) { in SSL_CONF_CTX_finish()
|
H A D | ssl_lib.c | 2034 if (ctx->cert->key->privatekey == NULL) { in SSL_CTX_check_private_key() 2039 (ctx->cert->key->x509, ctx->cert->key->privatekey); in SSL_CTX_check_private_key() 2055 if (sc->cert->key->privatekey == NULL) { in SSL_check_private_key() 2060 sc->cert->key->privatekey); in SSL_check_private_key() 5172 return sc->cert->key->privatekey; in SSL_get_privatekey() 5188 return ctx->cert->key->privatekey; in SSL_CTX_get0_privatekey()
|
/openssl/ssl/statem/ |
H A D | statem_srvr.c | 2758 EVP_PKEY *pkey = s->s3.tmp.cert->privatekey; in tls_construct_server_key_exchange() 2970 rsa = s->cert->pkeys[SSL_PKEY_RSA].privatekey; in tls_process_cke_rsa() 3222 pk = s->cert->pkeys[SSL_PKEY_GOST12_512].privatekey; in tls_process_cke_gost() 3224 pk = s->cert->pkeys[SSL_PKEY_GOST12_256].privatekey; in tls_process_cke_gost() 3227 pk = s->cert->pkeys[SSL_PKEY_GOST01].privatekey; in tls_process_cke_gost() 3230 pk = s->cert->pkeys[SSL_PKEY_GOST01].privatekey; in tls_process_cke_gost() 3329 pk = s->cert->pkeys[SSL_PKEY_GOST12_512].privatekey != NULL ? in tls_process_cke_gost18() 3330 s->cert->pkeys[SSL_PKEY_GOST12_512].privatekey : in tls_process_cke_gost18() 3331 s->cert->pkeys[SSL_PKEY_GOST12_256].privatekey; in tls_process_cke_gost18()
|
H A D | statem_lib.c | 327 pkey = s->s3.tmp.cert->privatekey; in tls_construct_cert_verify() 1323 } else if (cpk != NULL && cpk->privatekey != NULL) { in tls_output_rpk() 1325 pdata_len = i2d_PUBKEY(cpk->privatekey, &pdata); in tls_output_rpk() 1949 curve = ssl_get_EC_curve_nid(s->cert->pkeys[SSL_PKEY_ECC].privatekey); in is_tls13_capable()
|
/openssl/doc/man1/ |
H A D | openssl-dgst.pod.in | 229 openssl dgst -sha256 -sign privatekey.pem -out signature.sign file.txt 231 openssl sha256 -sign privatekey.pem -out signature.sign file.txt
|
H A D | openssl-req.pod.in | 664 openssl req -newkey rsa:2048 -keyout privatekey.pem -out request.csr -cipher aes-256-cbc
|
/openssl/include/openssl/ |
H A D | ssl.h.in | 1631 __owur int SSL_use_cert_and_key(SSL *ssl, X509 *x509, EVP_PKEY *privatekey, 1792 __owur int SSL_CTX_use_cert_and_key(SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey,
|
Completed in 99 milliseconds