Home
last modified time | relevance | path

Searched refs:fetched_digest (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/evp/
H A Ddigest.c70 EVP_MD_free(ctx->fetched_digest); in evp_md_ctx_clear_digest()
71 ctx->fetched_digest = NULL; in evp_md_ctx_clear_digest()
241 EVP_MD_free(ctx->fetched_digest); in evp_md_init_internal()
242 ctx->fetched_digest = NULL; in evp_md_init_internal()
275 EVP_MD_free(ctx->fetched_digest); in evp_md_init_internal()
276 ctx->fetched_digest = provmd; in evp_md_init_internal()
285 EVP_MD_free(ctx->fetched_digest); in evp_md_init_internal()
286 ctx->fetched_digest = (EVP_MD *)type; in evp_md_init_internal()
605 if (out->fetched_digest != NULL) in EVP_MD_CTX_copy_ex()
606 EVP_MD_free(out->fetched_digest); in EVP_MD_CTX_copy_ex()
[all …]
H A Dm_sigver.c238 ctx->fetched_digest = EVP_MD_fetch(locpctx->libctx, mdname, props); in do_sigver_init()
239 if (ctx->fetched_digest != NULL) { in do_sigver_init()
240 ctx->digest = ctx->reqdigest = ctx->fetched_digest; in do_sigver_init()
H A Devp_local.h33 EVP_MD *fetched_digest; member
/openssl/crypto/sm2/
H A Dsm2_sign.c159 EVP_MD *fetched_digest = NULL; in sm2_compute_msg_hash() local
176 fetched_digest = EVP_MD_fetch(libctx, EVP_MD_get0_name(digest), propq); in sm2_compute_msg_hash()
177 if (fetched_digest == NULL) { in sm2_compute_msg_hash()
182 if (!ossl_sm2_compute_z_digest(z, fetched_digest, id, id_len, key)) { in sm2_compute_msg_hash()
187 if (!EVP_DigestInit(hash, fetched_digest) in sm2_compute_msg_hash()
201 EVP_MD_free(fetched_digest); in sm2_compute_msg_hash()
H A Dsm2_crypt.c132 EVP_MD *fetched_digest = NULL; in ossl_sm2_encrypt() local
222 fetched_digest = EVP_MD_fetch(libctx, EVP_MD_get0_name(digest), propq); in ossl_sm2_encrypt()
223 if (fetched_digest == NULL) { in ossl_sm2_encrypt()
227 if (EVP_DigestInit(hash, fetched_digest) == 0 in ossl_sm2_encrypt()
262 EVP_MD_free(fetched_digest); in ossl_sm2_encrypt()
/openssl/crypto/cms/
H A Dcms_lib.c406 EVP_MD *fetched_digest = NULL; in ossl_cms_DigestAlgorithm_init_bio() local
413 fetched_digest = EVP_MD_fetch(ossl_cms_ctx_get0_libctx(ctx), alg, in ossl_cms_DigestAlgorithm_init_bio()
416 if (fetched_digest != NULL) in ossl_cms_DigestAlgorithm_init_bio()
417 digest = fetched_digest; in ossl_cms_DigestAlgorithm_init_bio()
432 EVP_MD_free(fetched_digest); in ossl_cms_DigestAlgorithm_init_bio()
435 EVP_MD_free(fetched_digest); in ossl_cms_DigestAlgorithm_init_bio()
/openssl/test/
H A Devp_test.c643 EVP_MD *fetched_digest; member
661 EVP_MD *fetched_digest; in digest_test_init() local
676 mdat->fetched_digest = fetched_digest; in digest_test_init()
679 if (fetched_digest != NULL) in digest_test_init()
690 EVP_MD_free(mdat->fetched_digest); in digest_test_cleanup()
838 EVP_MD_get0_name(expected->fetched_digest), in digest_test_run()
3030 EVP_MD *fetched_digest = NULL; in pbe_test_run() local
3058 fetched_digest = EVP_MD_fetch(libctx, EVP_MD_get0_name(expected->md), in pbe_test_run()
3060 if (fetched_digest == NULL) { in pbe_test_run()
3067 key, fetched_digest) == 0) { in pbe_test_run()
[all …]

Completed in 30 milliseconds