Lines Matching refs:bags

642 	STACK_OF(PKCS12_SAFEBAG) *bags = NULL;  in sunw_PKCS12_create()
662 if ((bags = sk_PKCS12_SAFEBAG_new_null()) == NULL) { in sunw_PKCS12_create()
706 if (sk_PKCS12_SAFEBAG_push(bags, bag) == 0) { in sunw_PKCS12_create()
755 if (sk_PKCS12_SAFEBAG_push(bags, bag) == 0) { in sunw_PKCS12_create()
768 NULL, 0, PKCS12_DEFAULT_ITER, bags); in sunw_PKCS12_create()
773 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); in sunw_PKCS12_create()
774 bags = NULL; in sunw_PKCS12_create()
785 if (bags == NULL && in sunw_PKCS12_create()
786 (bags = sk_PKCS12_SAFEBAG_new_null()) == NULL) { in sunw_PKCS12_create()
834 if (sk_PKCS12_SAFEBAG_push(bags, bag) == 0) { in sunw_PKCS12_create()
845 authsafe = PKCS12_pack_p7data(bags); in sunw_PKCS12_create()
851 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); in sunw_PKCS12_create()
852 bags = NULL; in sunw_PKCS12_create()
900 if (bags != NULL) in sunw_PKCS12_create()
901 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); in sunw_PKCS12_create()
1714 STACK_OF(PKCS12_SAFEBAG) *bags; in parse_outer()
1726 bags = M_PKCS12_unpack_p7data(p7); in parse_outer()
1732 bags = M_PKCS12_unpack_p7encdata(p7, pass, -1); in parse_outer()
1738 if (bags == NULL) { in parse_outer()
1743 if (parse_all_bags(bags, pass, kl, cl) == 0) { in parse_outer()
1744 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); in parse_outer()
1766 parse_all_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass, in parse_all_bags() argument
1770 for (i = 0; i < sk_PKCS12_SAFEBAG_num(bags); i++) { in parse_all_bags()
1771 if (parse_one_bag(sk_PKCS12_SAFEBAG_value(bags, i), in parse_all_bags()