Lines Matching defs:dd
25 CMS_DigestedData *dd;
31 dd = M_ASN1_new_of(CMS_DigestedData);
33 if (dd == NULL)
37 cms->d.digestedData = dd;
39 dd->version = 0;
40 dd->encapContentInfo->eContentType = OBJ_nid2obj(NID_pkcs7_data);
42 X509_ALGOR_set_md(dd->digestAlgorithm, md);
53 CMS_DigestedData *dd = cms->d.digestedData;
55 return ossl_cms_DigestAlgorithm_init_bio(dd->digestAlgorithm,
66 CMS_DigestedData *dd;
73 dd = cms->d.digestedData;
75 if (!ossl_cms_DigestAlgorithm_find_ctx(mctx, chain, dd->digestAlgorithm))
82 if (mdlen != (unsigned int)dd->digest->length) {
87 if (memcmp(md, dd->digest->data, mdlen))
92 if (!ASN1_STRING_set(dd->digest, md, mdlen))