Lines Matching refs:md_ctx
1534 EVP_MD_CTX md_ctx; local
1611 EVP_VerifyInit(&md_ctx, mdtype);
1623 EVP_VerifyUpdate (&md_ctx, buf, len);
1631 if (EVP_VerifyFinal(&md_ctx, (unsigned char *)sig, sig_len, key) != 1) {
1633 EVP_MD_CTX_cleanup(&md_ctx);
1642 EVP_MD_CTX_cleanup(&md_ctx);
1886 EVP_MD_CTX *md_ctx; local
1907 md_ctx = EVP_MD_CTX_create();
1912 if (!EVP_SignInit(md_ctx, EVP_sha1())) {
1921 if (!EVP_SignUpdate(md_ctx, buf, sig_len)) {
1930 if (!EVP_SignFinal (md_ctx, sigbuf,(unsigned int *)&siglen, key)) {
1939 EVP_MD_CTX_destroy(md_ctx);