Searched refs:psm2ctx (Results 1 – 2 of 2) sorted by relevance
95 psm2ctx->md = EVP_MD_fetch(psm2ctx->libctx, psm2ctx->mdname, in sm2sig_set_mdname()97 if (psm2ctx->md == NULL) in sm2sig_set_mdname()116 OPENSSL_strlcpy(psm2ctx->mdname, mdname, sizeof(psm2ctx->mdname)); in sm2sig_set_mdname()155 psm2ctx->ec = ec; in sm2sig_signature_init()284 if (psm2ctx == NULL || psm2ctx->mdctx == NULL) in sm2sig_digest_signverify_update()298 if (psm2ctx == NULL || psm2ctx->mdctx == NULL) in sm2sig_digest_sign_final()323 if (psm2ctx == NULL || psm2ctx->mdctx == NULL) in sm2sig_digest_verify_final()404 if (psm2ctx == NULL) in sm2sig_get_ctx_params()446 if (psm2ctx == NULL) in sm2sig_set_ctx_params()524 if (psm2ctx->md == NULL) in sm2sig_gettable_ctx_md_params()[all …]
53 if (psm2ctx == NULL) in sm2_newctx()57 return psm2ctx; in sm2_newctx()66 EC_KEY_free(psm2ctx->key); in sm2_init()67 psm2ctx->key = vkey; in sm2_init()77 md = ossl_prov_digest_fetch(&psm2ctx->md, psm2ctx->libctx, "SM3", NULL); in sm2_get_md()87 const EVP_MD *md = sm2_get_md(psm2ctx); in sm2_asym_encrypt()108 const EVP_MD *md = sm2_get_md(psm2ctx); in sm2_asym_decrypt()126 EC_KEY_free(psm2ctx->key); in sm2_freectx()127 ossl_prov_digest_reset(&psm2ctx->md); in sm2_freectx()129 OPENSSL_free(psm2ctx); in sm2_freectx()[all …]
Completed in 8 milliseconds