Re : Re: Re : Default digest implementation?

2014-07-18 Thread nicolas . kox
/rand/md_rand.c if (!MD_Init(&m)) goto err; if (!MD_Update(&m,local_md,MD_DIGEST_LENGTH)) goto err; - Mail d'origine - De: Jeffrey Walton À: OpenSSL Users List Envoyé: Fri, 18 Jul 2014 09:32:09 +0200 (CEST) Objet: Re: Re : Default digest implementation? On

Re : Re: Re : Default digest implementation?

2014-07-18 Thread nicolas . kox
t 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, 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

Re: Re : Default digest implementation?

2014-07-18 Thread Jeffrey Walton
On Fri, Jul 18, 2014 at 3:02 AM, 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, > otherwise

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,