[openssl-dev] Variable length of digest

Dr. Stephen Henson steve at openssl.org
Wed Dec 23 22:18:55 UTC 2015


On Wed, Dec 23, 2015, Dmitry Belyavsky wrote:

> Hello OpenSSL Team,
> 
> I have a question.
> 
> I need to implement a digest with variable length of output. The length of
> output can be easily specified by the control function, but EVP functions
> expect the constant length of the digest result.
> 
> Is there a good solution how to fix it and will the patch providing such a
> solution be acceptable?
> 

That's an interesting question. What digest requires this? Is the output
length arbitrary or do the standards specify a maximum size?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org


More information about the openssl-dev mailing list