On Mon, Jun 17, 2002 at 05:27:05PM -0400, Sivaselvam CN wrote: > Hi, > > > In the help for "sha(3)" command, OpenSSL documentation advises to use > the "EVP_DigestInit" functions for hashing functionality instead of > calling the hash functions directly. But I do not see the following > functions in the header file "evp.h". I could not find their > implementatiosn as well. > void EVP_MD_CTX_init(EVP_MD_CTX *ctx); > int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx); > int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int > *s); > int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE > *impl); > > I have downloaded the latest OpenSSL source > > "2236143 May 10 01:31:40 2002 > <http://www.openssl.org/source/openssl-engine-0.9.6d.tar.gz> > openssl-engine-0.9.6d.tar.gz [LATEST]". Am I missing something?
Yes. These functions were only added in the 0.9.7 release of OpenSSL. Unfortunately this is not yet pointed in the manual pages (the pages available online are from the development tree, so they are newer than the stable versions). http://www.aet.tu-cottbus.de/rt2/Ticket/Display.html?id=59 Best regards, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] http://www.aet.TU-Cottbus.DE/personen/jaenicke/ BTU Cottbus, Allgemeine Elektrotechnik Universitaetsplatz 3-4, D-03044 Cottbus ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]