Lines Matching defs:kl
1703 parse_outer(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) *kl,
1735 if (parse_all_bags(bags, pass, kl, cl) == 0) {
1759 STACK_OF(EVP_PKEY) *kl, STACK_OF(X509) *cl)
1764 pass, kl, cl) == 0)
1773 * i = parse_one_bag(bag, pass, kl, cl);
1778 * kl - Stack of private keys found so far. New private keys will
1792 parse_one_bag(PKCS12_SAFEBAG *bag, const char *pass, STACK_OF(EVP_PKEY) *kl,
1905 if (parse_all_bags(bag->value.safes, pass, kl, cl) == 0) {
1976 if (sk_EVP_PKEY_push(kl, pkey) == 0) {
2224 * kl - Points to a stack of private keys that matches the list of
2246 get_key_cert(int n, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, STACK_OF(X509) *cl,
2253 nk = (kl != NULL) ? sk_EVP_PKEY_num(kl) : 0;
2258 *pkey = sk_EVP_PKEY_delete(kl, n);
2545 * kl - Points to a stack of private keys.
2582 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey,
2655 if (pkey != NULL && kl != NULL) {
2664 p = sk_EVP_PKEY_value(kl, k);
2667 *pkey = sk_EVP_PKEY_delete(kl, k);
2671 for (k = 0; k < sk_EVP_PKEY_num(kl); k++) {
2672 p = sk_EVP_PKEY_value(kl, k);
2683 *pkey = sk_EVP_PKEY_delete(kl, k);