Lines Matching defs:pkey
151 STACK_OF(EVP_PKEY) **pkey, STACK_OF(X509) **certs);
158 * or it should point to a valid STACK_OF(X509) structure. pkey and cert can
172 * pkey - Points to location pointing to the private key returned.
209 int keyid_len, char *name_str, EVP_PKEY **pkey, X509 **cert,
222 if (pkey)
223 *pkey = NULL;
265 name_str, pkey, cert, ca);
273 if (pkey && *pkey) {
274 sunw_evp_pkey_free(*pkey);
301 * pkey - Points to location pointing to the private key returned.
320 int kstr_len, char *name_str, EVP_PKEY **pkey, X509 **cert,
363 work_kl, work_cl, pkey, cert);
381 pkey, cert);
393 retval = get_key_cert(0, work_kl, pkey, work_cl, cert);
412 retval = get_key_cert(n, work_kl, pkey, work_cl, cert);
432 retval = get_key_cert(0, tmpk, pkey, tmpc, cert);
452 if (pkey != NULL && *pkey != NULL) {
453 sunw_evp_pkey_free(*pkey);
454 *pkey = NULL;
498 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey,
527 retval = set_results(pkey, &work_kl, certs, &work_ca, NULL,
649 EVP_PKEY *pkey = NULL;
660 if ((pkey = EVP_PKCS82PKEY(bag->value.keybag)) == NULL) {
677 pkey = EVP_PKCS82PKEY(p8);
679 if (pkey == NULL) {
773 if (pkey != NULL) {
775 pkey->attributes == NULL) {
776 pkey->attributes = sk_X509_ATTRIBUTE_new_null();
777 if (pkey->attributes == NULL) {
793 if (sk_X509_ATTRIBUTE_push(pkey->attributes,
813 if (sk_X509_ATTRIBUTE_push(pkey->attributes,
826 if (sk_EVP_PKEY_push(kl, pkey) == 0) {
831 pkey = NULL;
836 if (pkey != NULL) {
837 sunw_evp_pkey_free(pkey);