Lines Matching refs:safes

125     pb->safes = NULL;  in start_pkcs12()
160 p12 = PKCS12_add_safes(pb->safes, 0); in generate_p12()
162 p12 = PKCS12_add_safes_ex(pb->safes, 0, test_ctx, test_propq); in generate_p12()
167 sk_PKCS7_pop_free(pb->safes, PKCS7_free); in generate_p12()
282 if (!TEST_true(PKCS12_add_safe(&pb->safes, pb->bags, -1, 0, NULL))) in end_contentinfo()
294 if (!TEST_true(PKCS12_add_safe(&pb->safes, pb->bags, enc->nid, in end_contentinfo_encrypted()
298 if (!TEST_true(PKCS12_add_safe_ex(&pb->safes, pb->bags, enc->nid, in end_contentinfo_encrypted()
309 static STACK_OF(PKCS12_SAFEBAG) *decode_contentinfo(STACK_OF(PKCS7) *safes, int idx, const PKCS12_E… in STACK_OF()
313 PKCS7 *p7 = sk_PKCS7_value(safes, idx); in STACK_OF()
679 pb->safes = PKCS12_unpack_authsafes(p12); in start_check_pkcs12()
680 if (!TEST_ptr(pb->safes)) in start_check_pkcs12()
699 pb->safes = PKCS12_unpack_authsafes(p12); in start_check_pkcs12_with_mac()
700 if (!TEST_ptr(pb->safes)) in start_check_pkcs12_with_mac()
719 pb->safes = PKCS12_unpack_authsafes(p12); in start_check_pkcs12_file()
720 if (!TEST_ptr(pb->safes)) in start_check_pkcs12_file()
739 pb->safes = PKCS12_unpack_authsafes(p12); in start_check_pkcs12_file_with_mac()
740 if (!TEST_ptr(pb->safes)) in start_check_pkcs12_file_with_mac()
752 sk_PKCS7_pop_free(pb->safes, PKCS7_free); in end_check_pkcs12()
762 pb->bags = decode_contentinfo(pb->safes, pb->safe_idx++, NULL); in start_check_contentinfo()
776 pb->bags = decode_contentinfo(pb->safes, pb->safe_idx++, enc); in start_check_contentinfo_encrypted()