Re : Default digest implementation?

2014-07-18 Thread nicolas . kox
Hi, Actually, there's no default digest. When created, the EVP_MD_CTX struct is initialized to 0, then all pointers are NULL by default, in particular ctx-type. If a a digest was previously used, it can be reused if no EVP_MD is given, otherwise the initialization will fail. Concerning engine,

Re: Re : Default digest implementation?

2014-07-18 Thread Jeffrey Walton
On Fri, Jul 18, 2014 at 3:02 AM, nicolas@free.fr wrote: Actually, there's no default digest. When created, the EVP_MD_CTX struct is initialized to 0, then all pointers are NULL by default, in particular ctx-type. If a a digest was previously used, it can be reused if no EVP_MD is given,

Re : Re: Re : Default digest implementation?

2014-07-18 Thread nicolas . kox
openssl-users@openssl.org Envoyé: Fri, 18 Jul 2014 09:32:09 +0200 (CEST) Objet: Re: Re : Default digest implementation? On Fri, Jul 18, 2014 at 3:02 AM, nicolas@free.fr wrote: Actually, there's no default digest. When created, the EVP_MD_CTX struct is initialized to 0, then all pointers

Re : Re: Re : Default digest implementation?

2014-07-18 Thread nicolas . kox
: Default digest implementation? On Fri, Jul 18, 2014 at 3:02 AM, nicolas@free.fr wrote: Actually, there's no default digest. When created, the EVP_MD_CTX struct is initialized to 0, then all pointers are NULL by default, in particular ctx-type. If a a digest was previously used, it can