Searched refs:pkeys (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/common/net/wanboot/
H A Dp12auxutl.c90 * pkeys - Points to stack of private keys.
103 sunw_PKCS12_create(const char *pass, STACK_OF(EVP_PKEY) *pkeys, argument
249 if (pkeys != NULL && sk_EVP_PKEY_num(pkeys) > 0) {
257 for (i = 0; i < sk_EVP_PKEY_num(pkeys); i++) {
259 pkey = sk_EVP_PKEY_value(pkeys, i);
H A Dp12misc.c122 * If all certs are removed from 'certs' and/or 'pkeys', it will be the
466 * Look for a keyid in a stack of certs. if 'certs' is NULL and 'pkeys' is
474 * pkeys - Points to a stack of private keys which match the certs.
494 sunw_find_localkeyid(char *keyid_str, int len, STACK_OF(EVP_PKEY) *pkeys, argument
504 (pkeys == NULL || certs == NULL) ||
505 (pkeys != NULL && matching_pkey == NULL) ||
523 retval = find_attr(NID_localKeyID, cmpstr, pkeys, &tmp_pkey, certs,
543 * Look for a friendlyname in a stack of certs. if 'certs' is NULL and 'pkeys'
550 * pkeys - Points to a stack of private keys which match the certs.
566 sunw_find_fname(char *fname, STACK_OF(EVP_PKEY) *pkeys, STACK_O argument
[all...]
H A Dauxutil.c192 * pkeys - Points to stack of pkeys
193 * work_kl - Points to working stack of pkeys
198 * xtrakeys - Points to stack of unmatcned pkeys
199 * work_xl - Points to working stack of unmatcned pkeys
221 set_results(STACK_OF(EVP_PKEY) **pkeys, STACK_OF(EVP_PKEY) **work_kl,
228 if (pkeys != NULL && work_kl != NULL && *work_kl != NULL &&
230 if (*pkeys == NULL) {
231 *pkeys = *work_kl;
234 if (sunw_append_keys(*pkeys, *work_k
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dkeystore.c71 STACK_OF(EVP_PKEY) *pkeys;
450 tmpstore->pkeys = NULL;
479 if (keystore->pkeys != NULL) {
480 sk_EVP_PKEY_pop_free(keystore->pkeys,
647 if (ks->pkeys == NULL) {
656 if ((sk_EVP_PKEY_num(ks->pkeys) == 1) &&
658 tmpkey = sk_EVP_PKEY_value(ks->pkeys, 0);
674 items_found = sunw_find_fname(alias, ks->pkeys, ks->clcerts,
825 if (keystore->pkeys == NULL) {
827 if ((keystore->pkeys
[all...]
H A Dp12lib.c372 * pkeys - Points to address of a stack of private keys to return.
443 * pkeys - Points to address of a stack of private keys to return.
520 * If all certs are removed from 'certs' and/or 'pkeys', it will be the
624 * pkeys - Points to stack of private keys.
637 sunw_PKCS12_create(const char *pass, STACK_OF(EVP_PKEY) *pkeys, argument
783 if (pkeys != NULL && sk_EVP_PKEY_num(pkeys) > 0) {
791 for (i = 0; i < sk_EVP_PKEY_num(pkeys); i++) {
793 pkey = sk_EVP_PKEY_value(pkeys, i);
1163 * Look for a keyid in a stack of certs. if 'certs' is NULL and 'pkeys' i
1191 sunw_find_localkeyid(char *keyid_str, int len, STACK_OF(EVP_PKEY) *pkeys, STACK_OF(X509) *certs, EVP_PKEY **matching_pkey, X509 **matching_cert) argument
1263 sunw_find_fname(char *fname, STACK_OF(EVP_PKEY) *pkeys, STACK_OF(X509) *certs, EVP_PKEY **matching_pkey, X509 ** matching_cert) argument
2032 pem_info(FILE *fp, pem_password_cb cb, void *userdata, STACK_OF(EVP_PKEY) **pkeys, STACK_OF(X509) **certs) argument
[all...]

Completed in 52 milliseconds