Thanks for the response, using -sha384 appears to be working and verifies correctly.
Mike -----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: Sunday, April 24, 2011 4:17 AM To: openssl-users@openssl.org Subject: Re: openssl dgst using ecdsa-with-SHA384 On Wed, Apr 20, 2011, Shelley, Mike wrote: > Hi all, > > > > I'm having a problem using ecdsa with SHA 384 when creating a message > digest. I will admit I'm not too familiar with openssl and digests, but > I have code that works using -ecdsa-with-SHA1. I need to change that to > use ecdsa-with-SHA384. I looked at the release notes to see that this > should be supported with openssl version 1.1.0 and later, but I've tried > that version as well as the latest 1.0.0d, and get a "unknown option > '-ecdsa-with-SHA384' " > > > > The command I use is: > > /usr/local/openssl/bin/openssl dgst -ecdsa-with-SHA384 -binary -out > signersCertDgst.tmp x509/public.pem > > > > This same command works when using -ecdsa-with-SHA1 > > > > I've looked at the openssl source and it appears to support the > -ecdsa-with-SHA384, but it's not straight forward to trace it through > the source code. > > > > Has anyone gotten this to work? Am I doing something wrong? I assume > -sha384 is different than -ecdsa-with-SHA384. > Actually that's how you do it use -sha384 and use an EC key to sign the result. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org