On Thu, Dec 12, 2013, Dereck Hurtubise wrote:
> How do you use EVP_MD_size() if the only thing you have is the NID of the
> algorithm?
>
Call EVP_get_digestbynid() to get the EVP_MD first.
Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see:
How do you use EVP_MD_size() if the only thing you have is the NID of the
algorithm?
On Thu, Dec 12, 2013 at 5:59 PM, Michel wrote:
> Did you see EVP_MD_size()
>
> at http://www.openssl.org/docs/crypto/EVP_DigestInit.html
>
>
> Le 12/12/2013 09:29, Dereck Hurtubise a écrit :
>
> Hello,
>
> I
|Did you see EVP_MD_size()
at http://www.openssl.org/docs/crypto/EVP_DigestInit.html
|Le 12/12/2013 09:29, Dereck Hurtubise a écrit :
Hello,
Is there an easy way in OpenSSL to call some function which returns
the length of the digest/hash it returns? Like SHA256 would return 32
(maximum dig
Hello,
Is there an easy way in OpenSSL to call some function which returns the
length of the digest/hash it returns? Like SHA256 would return 32 (maximum
digest length of 32 bytes).
Dereck