Lines Matching refs:pkey
104 sunw_use_pkey(SSL_CTX *ctx, EVP_PKEY *pkey) in sunw_use_pkey() argument
107 if (ctx == NULL || pkey == NULL) { in sunw_use_pkey()
112 if (SSL_CTX_use_PrivateKey(ctx, pkey) != 1) { in sunw_use_pkey()
250 EVP_PKEY *pkey = NULL; in sunw_p12_use_keyfile() local
262 ret = p12_doparse(p12, passwd, DO_UNMATCHING, &pkey, NULL, in sunw_p12_use_keyfile()
264 if (ret > 0 && pkey != NULL) { in sunw_p12_use_keyfile()
265 if (sunw_use_pkey(ctx, pkey) != 1) { in sunw_p12_use_keyfile()
281 if (ret == -1 && pkey != NULL) { in sunw_p12_use_keyfile()
282 sunw_evp_pkey_free(pkey); in sunw_p12_use_keyfile()
283 pkey = NULL; in sunw_p12_use_keyfile()
411 EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca) in p12_doparse() argument
426 pkey, cert, ca); in p12_doparse()