Lines Matching refs:flags
181 int flags = PKCS7_DETACHED, operation = 0, ret = 0, indef = 0; in smime_main() local
244 flags |= PKCS7_TEXT; in smime_main()
247 flags |= PKCS7_NOINTERN; in smime_main()
250 flags |= PKCS7_NOVERIFY; in smime_main()
253 flags |= PKCS7_NOCHAIN; in smime_main()
256 flags |= PKCS7_NOCERTS; in smime_main()
259 flags |= PKCS7_NOATTR; in smime_main()
262 flags &= ~PKCS7_DETACHED; in smime_main()
265 flags |= PKCS7_NOSMIMECAP; in smime_main()
268 flags |= PKCS7_BINARY; in smime_main()
271 flags |= PKCS7_NOSIGS; in smime_main()
281 flags |= PKCS7_CRLFEOL; in smime_main()
461 flags &= ~PKCS7_DETACHED; in smime_main()
464 if (flags & PKCS7_BINARY) in smime_main()
469 if (flags & PKCS7_BINARY) in smime_main()
575 flags |= PKCS7_STREAM; in smime_main()
576 p7 = PKCS7_encrypt_ex(encerts, in, cipher, flags, libctx, app_get0_propq()); in smime_main()
584 if (flags & PKCS7_DETACHED) { in smime_main()
586 flags |= PKCS7_STREAM; in smime_main()
588 flags |= PKCS7_STREAM; in smime_main()
590 flags |= PKCS7_PARTIAL; in smime_main()
591 p7 = PKCS7_sign_ex(NULL, NULL, other, in, flags, libctx, app_get0_propq()); in smime_main()
594 if (flags & PKCS7_NOCERTS) { in smime_main()
601 flags |= PKCS7_REUSE_DIGEST; in smime_main()
613 if (!PKCS7_sign_add_signer(p7, signer, key, sign_md, flags)) in smime_main()
621 if ((operation == SMIME_SIGN) && !(flags & PKCS7_STREAM)) { in smime_main()
622 if (!PKCS7_final(p7, in, flags)) 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()
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()