Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/demos/signature/
H A DEVP_Signature_demo.c155 EVP_MD_CTX *verify_context = NULL; in demo_verify() local
162 verify_context = EVP_MD_CTX_new(); in demo_verify()
163 if (verify_context == NULL) { in demo_verify()
174 if (!EVP_DigestVerifyInit_ex(verify_context, NULL, sig_name, in demo_verify()
183 if (!EVP_DigestVerifyUpdate(verify_context, hamlet_1, strlen(hamlet_1))) { in demo_verify()
187 if (!EVP_DigestVerifyUpdate(verify_context, hamlet_2, strlen(hamlet_2))) { in demo_verify()
191 if (EVP_DigestVerifyFinal(verify_context, sig_value, sig_len) <= 0) { in demo_verify()
201 EVP_MD_CTX_free(verify_context); in demo_verify()