Re: Cygwin - OpenSSL 0.9.8l linker errors

2009-11-16 Thread Reid Thompson
Jeremy Farrell wrote: @$(CC) $(LDFLAGS) $(LIBS) $(OBJ) -o $(BIN) needs to be @$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $(BIN) forget to include needed information. The order of the libs may need to be reversed also LIBS = -lssl -lcrypto __

Re: [Q] Tutorial or Explanation how to use OpenSSL library functions?

2009-11-12 Thread Reid Thompson
JongAm Park wrote: Hello. Thank you for mentioning the book. However, I could figure out by staring at its MAN page long time and looking up some sample codes in source code distribution of the OpenSSL. may be of use... from the mailing list and the web note that with a little modificati

Re: [Q] Tutorial or Explanation how to use OpenSSL library functions?

2009-11-12 Thread Reid Thompson
JongAm Park wrote: Hello. Thank you for mentioning the book. However, I could figure out by staring at its MAN page long time and looking up some sample codes in source code distribution of the OpenSSL. However, it would be great if there is a good reference/tutorial book. :) went ahead and

Re: about the sha1

2009-10-14 Thread Reid Thompson
On Tue, 2009-10-13 at 08:58 +0800, jaze lee wrote: > hello guys, > recently i use openssl to implement a identify scheme, i need the > hash function. But the sha1 can not meet my needs, > the message digest i want are 200 bits or more, but the sha1 can only > 160 bits. Is there any suggestion

Re: sha-256 program example

2009-10-06 Thread Reid Thompson
Dr. Stephen Henson wrote: Both of these use the low level APIs which are deprecated. The approved technique is using EVP. http://www.openssl.org/docs/crypto/EVP_DigestInit.html#EXAMPLE Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: h

RE: sha-256 program example

2009-10-06 Thread Reid Thompson
On Tue, 2009-10-06 at 10:44 -0500, Dwight Schauer wrote: > http://stackoverflow.com/questions/918676/generate-sha-hash-in-openssl > > Replace SHA1 with SHA256. > Replace 20 with SHA256_DIGEST_LENGTH. > > > Could someone point me to an example C program, docs that show how to > generate a sha-25

sha-256 program example

2009-10-06 Thread Reid Thompson
Could someone point me to an example C program, docs that show how to generate a sha-256 digest for a buffer? The buffer will be less than 128 chars. Thanks, reid __ OpenSSL Project http://www.ope