header file to inlcude for SHA256_DIGEST_LENGTH?

2009-04-02 Thread m r
I was initially working on SHA 128 algorithms #include openssl/sha.h was what was needed.Now, I need to work on SHA 256, but openssl/sha.h does not seem to work. I've also tried sha2.h sha256.h to no avail. I've checked the source code the SHA 256 APIs are defined in the same header file as SHA

migrating from bsafe to openSSL

2009-04-01 Thread m r
I'm looking to migrate AES encryption code from BSAFE to openSSL. As a test, I encrypted a string using BSAFE AES tried to decrypt using AES of openSSL. The openSSL manages to decrypt, but it adds some junk (mostly unprintable characters) in the end. For example, if my input is 1234, the

Re: migrating from bsafe to openSSL

2009-04-01 Thread m r
Thanks for your help. I appreciate the prompt response. On Wed, Apr 1, 2009 at 3:27 PM, Dr. Stephen Henson st...@openssl.orgwrote: On Wed, Apr 01, 2009, m r wrote: I'm looking to migrate AES encryption code from BSAFE to openSSL. As a test, I encrypted a string using BSAFE AES tried