Searched refs:mdbio (Results 1 – 2 of 2) sorted by relevance
289 BIO *mdbio = NULL; in cms_DigestAlgorithm_init_bio() local299 mdbio = BIO_new(BIO_f_md()); in cms_DigestAlgorithm_init_bio()300 if (mdbio == NULL || !BIO_set_md(mdbio, digest)) { in cms_DigestAlgorithm_init_bio()304 return mdbio; in cms_DigestAlgorithm_init_bio()306 BIO_free(mdbio); in cms_DigestAlgorithm_init_bio()
787 BIO *mdbio; in cms_SignedData_init_bio() local789 mdbio = cms_DigestAlgorithm_init_bio(digestAlgorithm); in cms_SignedData_init_bio()790 if (!mdbio) in cms_SignedData_init_bio()793 BIO_push(chain, mdbio); in cms_SignedData_init_bio()795 chain = mdbio; in cms_SignedData_init_bio()