Lines Matching refs:p7
166 PKCS7 *p7 = NULL; in smime_main() local
529 p7 = PKCS7_new_ex(libctx, app_get0_propq()); in smime_main()
530 if (p7 == NULL) { in smime_main()
535 p7_in = SMIME_read_PKCS7_ex(in, &indata, &p7); in smime_main()
537 p7_in = PEM_read_bio_PKCS7(in, &p7, NULL, NULL); in smime_main()
539 p7_in = d2i_PKCS7_bio(in, &p7); in smime_main()
576 p7 = PKCS7_encrypt_ex(encerts, in, cipher, flags, libctx, app_get0_propq()); in smime_main()
591 p7 = PKCS7_sign_ex(NULL, NULL, other, in, flags, libctx, app_get0_propq()); in smime_main()
592 if (p7 == NULL) in smime_main()
597 PKCS7_add_certificate(p7, x); in smime_main()
613 if (!PKCS7_sign_add_signer(p7, signer, key, sign_md, flags)) in smime_main()
622 if (!PKCS7_final(p7, in, flags)) in smime_main()
627 if (p7 == NULL) { in smime_main()
634 if (!PKCS7_decrypt(p7, key, recip, out, flags)) { in smime_main()
640 if (PKCS7_verify(p7, other, store, indata, out, flags)) in smime_main()
646 signers = PKCS7_get0_signers(p7, other, flags); in smime_main()
654 PEM_write_bio_PKCS7(out, p7); in smime_main()
664 rv = SMIME_write_PKCS7(out, p7, indata, flags); in smime_main()
666 rv = SMIME_write_PKCS7(out, p7, in, flags); in smime_main()
668 rv = PEM_write_bio_PKCS7_stream(out, p7, in, flags); in smime_main()
670 rv = i2d_PKCS7_bio_stream(out, p7, in, flags); in smime_main()
697 PKCS7_free(p7); in smime_main()