SHA_CTX h0, h1, h2, h3, h4

2019-10-29 Thread ratheesh kannoth
Hi, 1. what are these h0h4 ? 2. How are they generated ? 3. Could you help to locate code in openssl ? typedef struct SHAstate_st { SHA_LONG h0, h1, h2, h3, h4; SHA_LONG Nl, Nh; SHA_LONG data[SHA_LBLOCK]; unsigned int num; } SHA_CTX; Thanks,,

Re: OpenSSL compilation errors in Windows

2019-10-29 Thread Nagalakshmi V J
Hi Matt, Thank you so much for your response. Those mentioned APIs resolved my errors. For the below code, return SSL_get_session(pConnection) != NULL && pConnection->session->session_id_length != 0; Any reference for accessing session_id_length? https://www.openssl.org/docs/m

Re: OpenSSL compilation errors in Windows

2019-10-29 Thread Matt Caswell
On 29/10/2019 10:34, Nagalakshmi V J wrote: > > tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,(int)(p-buf), > > pGenerator->master_secret,sizeof(pGenerator->master_secret), > > km,tmp,num); It seems your code is replicating parts of libssl - which seems like a strange (and possibly

Re: OpenSSL compilation errors in Windows

2019-10-29 Thread Nagalakshmi V J
Hi All, Appreciate the response for the below query. Anyone faced the same issue? Thanks & Regards, Nagalakshmi V J From: Nagalakshmi V J Sent: 24 October 2019 03:29 To: Nagalakshmi V J ; Matt Caswell ; openssl-users@openssl.org Subject: Re: OpenSSL compilation