Home
last modified time | relevance | path

Searched refs:work_kl (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/common/net/wanboot/
H A Dp12auxpars.c323 STACK_OF(EVP_PKEY) *work_kl = NULL; /* Head for private key list */ in parse_pkcs12()
330 retval = sunw_PKCS12_contents(p12, pass, &work_kl, &work_ca); in parse_pkcs12()
340 if (sk_EVP_PKEY_num(work_kl) > 0) { in parse_pkcs12()
342 if (sunw_split_certs(work_kl, work_ca, &work_cl, &nocerts) in parse_pkcs12()
363 work_kl, work_cl, pkey, cert); in parse_pkcs12()
380 retval = sunw_find_fname(name_str, work_kl, work_cl, in parse_pkcs12()
393 retval = get_key_cert(0, work_kl, pkey, work_cl, cert); in parse_pkcs12()
412 retval = get_key_cert(n, work_kl, pkey, work_cl, cert); in parse_pkcs12()
429 tmpk = work_kl; in parse_pkcs12()
430 if (work_kl == NULL || sk_EVP_PKEY_num(work_kl) == 0) in parse_pkcs12()
[all …]
H A Dauxutil.c221 set_results(STACK_OF(EVP_PKEY) **pkeys, STACK_OF(EVP_PKEY) **work_kl, argument
228 if (pkeys != NULL && work_kl != NULL && *work_kl != NULL &&
229 sk_EVP_PKEY_num(*work_kl) > 0) {
231 *pkeys = *work_kl;
232 *work_kl = NULL;
234 if (sunw_append_keys(*pkeys, *work_kl) < 0) {
/titanic_50/usr/src/lib/libpkg/common/
H A Dp12lib.c394 STACK_OF(EVP_PKEY) *work_kl = NULL; in sunw_PEM_contents()
402 if ((work_kl = sk_EVP_PKEY_new_null()) == NULL) { in sunw_PEM_contents()
413 if (pem_info(fp, cb, userdata, &work_kl, &work_ca) <= 0) { in sunw_PEM_contents()
418 retval = set_results(pkey, &work_kl, certs, &work_ca, NULL, NULL, NULL, in sunw_PEM_contents()
421 if (work_kl != NULL) { in sunw_PEM_contents()
422 sk_EVP_PKEY_pop_free(work_kl, sunw_evp_pkey_free); in sunw_PEM_contents()
458 STACK_OF(EVP_PKEY) *work_kl = NULL; in sunw_PKCS12_contents()
466 if ((work_kl = sk_EVP_PKEY_new_null()) == NULL) { in sunw_PKCS12_contents()
476 if (parse_outer(p12, pass, work_kl, work_ca) == 0) { in sunw_PKCS12_contents()
484 retval = set_results(pkey, &work_kl, certs, &work_ca, NULL, in sunw_PKCS12_contents()
[all …]