Lines Matching refs:mctx
140 EVP_MD_CTX *mctx = NULL; in generate_canonical_g() local
147 mctx = EVP_MD_CTX_new(); in generate_canonical_g()
148 if (mctx == NULL) in generate_canonical_g()
168 if (!EVP_DigestInit_ex(mctx, evpmd, NULL) in generate_canonical_g()
169 || !EVP_DigestUpdate(mctx, seed, seedlen) in generate_canonical_g()
170 || !EVP_DigestUpdate(mctx, ggen, sizeof(ggen)) in generate_canonical_g()
171 || !EVP_DigestUpdate(mctx, md, 3) in generate_canonical_g()
172 || !EVP_DigestFinal_ex(mctx, md, NULL) in generate_canonical_g()
186 EVP_MD_CTX_free(mctx); in generate_canonical_g()
531 EVP_MD_CTX *mctx = NULL; in ossl_ffc_params_FIPS186_4_gen_verify() local
571 mctx = EVP_MD_CTX_new(); in ossl_ffc_params_FIPS186_4_gen_verify()
572 if (mctx == NULL) in ossl_ffc_params_FIPS186_4_gen_verify()
803 EVP_MD_CTX_free(mctx); in ossl_ffc_params_FIPS186_4_gen_verify()