Searched refs:bags (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/common/net/wanboot/ |
H A D | p12auxutl.c | 108 STACK_OF(PKCS12_SAFEBAG) *bags = NULL; in sunw_PKCS12_create() 128 if ((bags = sk_PKCS12_SAFEBAG_new_null()) == NULL) { in sunw_PKCS12_create() 172 if (sk_PKCS12_SAFEBAG_push(bags, bag) == 0) { in sunw_PKCS12_create() 221 if (sk_PKCS12_SAFEBAG_push(bags, bag) == 0) { in sunw_PKCS12_create() 234 NULL, 0, PKCS12_DEFAULT_ITER, bags); in sunw_PKCS12_create() 239 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); in sunw_PKCS12_create() 240 bags = NULL; in sunw_PKCS12_create() 251 if (bags == NULL && in sunw_PKCS12_create() 252 (bags = sk_PKCS12_SAFEBAG_new_null()) == NULL) { in sunw_PKCS12_create() 300 if (sk_PKCS12_SAFEBAG_push(bags, bag) == 0) { in sunw_PKCS12_create() [all …]
|
H A D | p12auxpars.c | 556 STACK_OF(PKCS12_SAFEBAG) *bags; in parse_outer() 568 bags = M_PKCS12_unpack_p7data(p7); in parse_outer() 574 bags = M_PKCS12_unpack_p7encdata(p7, pass, -1); in parse_outer() 580 if (bags == NULL) { in parse_outer() 585 if (parse_all_bags(bags, pass, kl, cl) == 0) { in parse_outer() 586 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); in parse_outer() 608 parse_all_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass, in parse_all_bags() argument 612 for (i = 0; i < sk_PKCS12_SAFEBAG_num(bags); i++) { in parse_all_bags() 613 if (parse_one_bag(sk_PKCS12_SAFEBAG_value(bags, i), in parse_all_bags()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | p12lib.c | 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() [all …]
|
/titanic_41/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 3738 openssl_parse_bags(STACK_OF(PKCS12_SAFEBAG) *bags, char *pin, in openssl_parse_bags() argument 3744 for (i = 0; i < sk_PKCS12_SAFEBAG_num(bags); i++) { in openssl_parse_bags() 3746 PKCS12_SAFEBAG *bag = sk_PKCS12_SAFEBAG_value(bags, i); in openssl_parse_bags() 3934 STACK_OF(PKCS12_SAFEBAG) *bags = NULL; in openssl_pkcs12_parse() 3957 bags = NULL; in openssl_pkcs12_parse() 3963 bags = PKCS12_unpack_p7data(p7); in openssl_pkcs12_parse() 3965 bags = PKCS12_unpack_p7encdata(p7, pin, in openssl_pkcs12_parse() 3970 if (bags == NULL) { in openssl_pkcs12_parse() 3975 if (openssl_parse_bags(bags, pin, keys, certs) != KMF_OK) in openssl_pkcs12_parse() 3978 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); in openssl_pkcs12_parse()
|