RE: Question about EVP_get_digestbynid and ECDSA

2012-11-06 Thread Erik Tkal
-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: Monday, November 05, 2012 6:57 PM To: openssl-users@openssl.org Subject: Re: Question about EVP_get_digestbynid and ECDSA On Mon, Nov 05, 2012, Erik Tkal wrote: > I have a tool that is creatin

Re: Question about EVP_get_digestbynid and ECDSA

2012-11-05 Thread Dr. Stephen Henson
On Mon, Nov 05, 2012, Erik Tkal wrote: > I have a tool that is creating a cert using X509_sign. I noticed that there > are no EVP_MD structs that handle ECDSA properly and found this thread from > a while back. > What version of OpenSSL is this for? For OpenSSL 1.0.0 and later you just pass th

RE: Question about EVP_get_digestbynid and ECDSA

2012-11-05 Thread Erik Tkal
ginal Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: Thursday, January 19, 2012 7:36 AM To: openssl-users@openssl.org Subject: Re: Question about EVP_get_digestbynid and ECDSA On Wed, Jan 18, 2012, Keith Welter wrote: &

Re: Question about EVP_get_digestbynid and ECDSA

2012-01-19 Thread Dr. Stephen Henson
On Wed, Jan 18, 2012, Keith Welter wrote: > If I call EVP_get_digestbynid with NID_ecdsa_with_SHA256, > NID_ecdsa_with_SHA384 or NID_ecdsa_with_SHA512 it returns null (on OpenSSL > 1.0.0-fips 29 Mar 2010). I expected it to return EVP_sha256, EVP_sha384 > and EVP_sha512 respectively. Am I supp

Question about EVP_get_digestbynid and ECDSA

2012-01-19 Thread Keith Welter
If I call EVP_get_digestbynid with NID_ecdsa_with_SHA256, NID_ecdsa_with_SHA384 or NID_ecdsa_with_SHA512 it returns null (on OpenSSL 1.0.0-fips 29 Mar 2010). I expected it to return EVP_sha256, EVP_sha384 and EVP_sha512 respectively. Am I supplying the wrong NIDs? Thanks, Keith Welter IBM So