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