Home
last modified time | relevance | path

Searched refs:privatekey (Results 1 – 13 of 13) sorted by relevance

/third_party/openssl/ssl/
Dssl_rsa.c158 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_set_pkey()
160 c->pkeys[i].privatekey = pkey; in ssl_set_pkey()
328 if (c->pkeys[i].privatekey != NULL) { in ssl_set_cert()
333 EVP_PKEY_copy_parameters(pkey, c->pkeys[i].privatekey); in ssl_set_cert()
336 if (!X509_check_private_key(x, c->pkeys[i].privatekey)) { in ssl_set_cert()
342 EVP_PKEY_free(c->pkeys[i].privatekey); in ssl_set_cert()
343 c->pkeys[i].privatekey = NULL; in ssl_set_cert()
1020 static int ssl_set_cert_and_key(SSL *ssl, SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey, in ssl_set_cert_and_key() argument
1048 if (privatekey == NULL) { in ssl_set_cert_and_key()
1049 privatekey = pubkey; in ssl_set_cert_and_key()
[all …]
Dssl_cert.c109 if (cpk->privatekey != NULL) { in ssl_cert_dup()
110 rpk->privatekey = cpk->privatekey; in ssl_cert_dup()
111 EVP_PKEY_up_ref(cpk->privatekey); in ssl_cert_dup()
212 EVP_PKEY_free(cpk->privatekey); in ssl_cert_clear_certs()
213 cpk->privatekey = NULL; in ssl_cert_clear_certs()
318 if (cpk->x509 == x && cpk->privatekey) { in ssl_cert_select_current()
326 if (cpk->privatekey && cpk->x509 && !X509_cmp(cpk->x509, x)) { in ssl_cert_select_current()
349 if (cpk->x509 && cpk->privatekey) { in ssl_cert_set_current()
Dt1_lib.c883 if (s->cert->pkeys[real_idx].privatekey != NULL) { in tls1_get_legacy_sigalg()
2188 pk = cpk->privatekey; in tls1_check_chain()
2455 dh_secbits = EVP_PKEY_security_bits(s->s3->tmp.cert->privatekey); in ssl_get_auto_dh()
2654 s->cert->pkeys[idx].privatekey); in has_usable_cert()
2708 : s->cert->pkeys[lu->sig_idx].privatekey; in find_sig_alg()
2778 EC_KEY *ec = EVP_PKEY_get0_EC_KEY(s->cert->pkeys[SSL_PKEY_ECC].privatekey); in tls_choose_sigalg()
2807 EVP_PKEY *pkey = s->cert->pkeys[sig_idx].privatekey; in tls_choose_sigalg()
Dssl_lib.c1598 if (ctx->cert->key->privatekey == NULL) { in SSL_CTX_check_private_key()
1603 (ctx->cert->key->x509, ctx->cert->key->privatekey); in SSL_CTX_check_private_key()
1617 if (ssl->cert->key->privatekey == NULL) { in SSL_check_private_key()
1622 ssl->cert->key->privatekey); in SSL_check_private_key()
3965 return s->cert->key->privatekey; in SSL_get_privatekey()
3981 return ctx->cert->key->privatekey; in SSL_CTX_get0_privatekey()
Dssl_conf.c905 if (p && !c->pkeys[i].privatekey) { in SSL_CONF_CTX_finish()
Dssl_local.h1817 EVP_PKEY *privatekey; member
2239 && s->cert->pkeys[idx].privatekey != NULL; in ssl_has_cert()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dbundle.dart43 const String defaultPrivateKeyPath = 'privatekey.der';
/third_party/openssl/ssl/statem/
Dstatem_srvr.c2769 EVP_PKEY *pkey = s->s3->tmp.cert->privatekey; in tls_construct_server_key_exchange()
3009 rsa = EVP_PKEY_get0_RSA(s->cert->pkeys[SSL_PKEY_RSA].privatekey); in tls_process_cke_rsa()
3367 pk = s->cert->pkeys[SSL_PKEY_GOST12_512].privatekey; in tls_process_cke_gost()
3369 pk = s->cert->pkeys[SSL_PKEY_GOST12_256].privatekey; in tls_process_cke_gost()
3372 pk = s->cert->pkeys[SSL_PKEY_GOST01].privatekey; in tls_process_cke_gost()
3375 pk = s->cert->pkeys[SSL_PKEY_GOST01].privatekey; in tls_process_cke_gost()
Dstatem_lib.c247 pkey = s->s3->tmp.cert->privatekey; in tls_construct_cert_verify()
1558 eckey = EVP_PKEY_get0_EC_KEY(s->cert->pkeys[SSL_PKEY_ECC].privatekey); in is_tls13_capable()
/third_party/openssl/doc/man1/
Ddgst.pod203 openssl dgst -sha256 -sign privatekey.pem -out signature.sign file.txt
/third_party/openssl/include/openssl/
Dssl.h1568 __owur int SSL_use_cert_and_key(SSL *ssl, X509 *x509, EVP_PKEY *privatekey,
1704 __owur int SSL_CTX_use_cert_and_key(SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
DChangeLog2417 client_cert, privatekey, private_key_passwd
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
DChangeLog2471 client_cert, privatekey, private_key_passwd