Lines Matching refs:dcont
141 int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
152 if (dcont == NULL && !check_content(cms))
155 cont = CMS_dataInit(cms, dcont);
162 do_free_upto(cont, dcont);
200 BIO *dcont, BIO *out, unsigned int flags)
210 if (dcont == NULL && !check_content(cms))
215 cont = CMS_dataInit(cms, dcont);
219 do_free_upto(cont, dcont);
306 X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags)
319 if (dcont == NULL && !check_content(cms))
321 if (dcont != NULL && !(flags & CMS_BINARY)) {
402 if (dcont != NULL && (BIO_method_type(dcont) == BIO_TYPE_MEM)) {
406 len = BIO_get_mem_data(dcont, &ptr);
407 tmpin = (len == 0) ? dcont : BIO_new_mem_buf(ptr, len);
413 tmpin = dcont;
419 if (!(flags & SMIME_BINARY) && dcont) {
436 if (!SMIME_crlf_copy(dcont, cmsbio, flags & ~SMIME_TEXT))
466 if (!(flags & SMIME_BINARY) && dcont) {
468 if (tmpin != dcont)
471 if (dcont && (tmpin == dcont))
472 do_free_upto(cmsbio, dcont);
859 BIO *dcont, BIO *out, unsigned int flags)
871 if (dcont == NULL && !check_content(cms))
876 if (pk == NULL && cert == NULL && dcont == NULL && out == NULL)
880 cont = CMS_dataInit(cms, dcont);
884 do_free_upto(cont, dcont);
888 int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont, unsigned int flags)
893 if ((cmsbio = CMS_dataInit(cms, dcont)) == NULL) {
912 do_free_upto(cmsbio, dcont);
920 int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
931 if (dcont == NULL && !check_content(cms))
934 cont = CMS_dataInit(cms, dcont);
938 do_free_upto(cont, dcont);
964 int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,