Home | History | Annotate | Download | only in pkcs7

Lines Matching defs:mctx

703 static int do_pkcs7_signed_attrib(PKCS7_SIGNER_INFO *si, EVP_MD_CTX *mctx)
720 if (!EVP_DigestFinal_ex(mctx, md_data,&md_len))
902 EVP_MD_CTX mctx;
913 EVP_MD_CTX_init(&mctx);
914 if (EVP_DigestSignInit(&mctx, &pctx, md,NULL, si->pkey) <= 0)
928 if (EVP_DigestSignUpdate(&mctx,abuf,alen) <= 0)
931 if (EVP_DigestSignFinal(&mctx, NULL, &siglen) <= 0)
936 if (EVP_DigestSignFinal(&mctx, abuf, &siglen) <= 0)
946 EVP_MD_CTX_cleanup(&mctx);
955 EVP_MD_CTX_cleanup(&mctx);