Home | History | Annotate | Download | only in ssl

Lines Matching refs:privkey

248  * and the private key in |privkey| are suitable and coherent. It returns
254 CRYPTO_BUFFER *leaf_buffer, EVP_PKEY *privkey) {
278 if (privkey != NULL &&
280 !ssl_compare_public_and_private_key(pubkey, privkey)) {
295 EVP_PKEY *privkey, const SSL_PRIVATE_KEY_METHOD *privkey_method) {
297 (privkey == NULL && privkey_method == NULL)) {
302 if (privkey != NULL && privkey_method != NULL) {
307 switch (check_leaf_cert_and_privkey(certs[0], privkey)) {
331 cert->privatekey = privkey;
332 if (privkey != NULL) {
333 EVP_PKEY_up_ref(privkey);
344 size_t num_certs, EVP_PKEY *privkey,
346 return cert_set_chain_and_key(ssl->cert, certs, num_certs, privkey,
351 size_t num_certs, EVP_PKEY *privkey,
353 return cert_set_chain_and_key(ctx->cert, certs, num_certs, privkey,
575 const EVP_PKEY *privkey) {
576 if (EVP_PKEY_is_opaque(privkey)) {
584 switch (EVP_PKEY_cmp(pubkey, privkey)) {
604 int ssl_cert_check_private_key(const CERT *cert, const EVP_PKEY *privkey) {
605 if (privkey == NULL) {
624 const int ok = ssl_compare_public_and_private_key(pubkey, privkey);