Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/demos/signature/
H A DEVP_Signature_demo.c77 EVP_MD_CTX *sign_context = NULL; in demo_sign() local
90 sign_context = EVP_MD_CTX_new(); in demo_sign()
91 if (sign_context == NULL) { in demo_sign()
99 if (!EVP_DigestSignInit_ex(sign_context, NULL, sig_name, in demo_sign()
108 if (!EVP_DigestSignUpdate(sign_context, hamlet_1, strlen(hamlet_1))) { in demo_sign()
112 if (!EVP_DigestSignUpdate(sign_context, hamlet_2, strlen(hamlet_2))) { in demo_sign()
117 if (!EVP_DigestSignFinal(sign_context, NULL, &sig_len)) { in demo_sign()
130 if (!EVP_DigestSignFinal(sign_context, sig_value, &sig_len)) { in demo_sign()
146 EVP_MD_CTX_free(sign_context); in demo_sign()