Lines Matching refs:privatekey
898 if (ctx->cert->key->privatekey == NULL) in SSL_CTX_check_private_key()
903 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey)); in SSL_CTX_check_private_key()
924 if (ssl->cert->key->privatekey == NULL) in SSL_check_private_key()
930 ssl->cert->key->privatekey)); in SSL_check_private_key()
2072 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks()
2073 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl); in ssl_set_cert_masks()
2075 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks()
2077 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks()
2079 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks()
2080 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl); in ssl_set_cert_masks()
2083 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks()
2084 dh_dsa_export=(dh_dsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl); in ssl_set_cert_masks()
2086 have_ecc_cert= (cpk->x509 != NULL && cpk->privatekey != NULL); in ssl_set_cert_masks()
2101 if (cpk->x509 != NULL && cpk->privatekey !=NULL) { in ssl_set_cert_masks()
2106 if (cpk->x509 != NULL && cpk->privatekey !=NULL) { in ssl_set_cert_masks()
2390 (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL)) in ssl_get_sign_pkey()
2394 if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL) in ssl_get_sign_pkey()
2396 else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL) in ssl_get_sign_pkey()
2400 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL)) in ssl_get_sign_pkey()
2409 return c->pkeys[idx].privatekey; in ssl_get_sign_pkey()
2843 return(s->cert->key->privatekey); in SSL_get_privatekey()