> From: [email protected] On Behalf Of Harsha gowda
> Sent: Sunday, 07 June, 2009 07:54
> Can any one tell me why 130 bytes of data is present in Client key
exchange,
> It has to be 128 bytes,
> I want to extract Pre-master secret
Actually, for RSA keyagreement, it has to be the size of the modulus.
1024bits=128bytes is popular and common, but other sizes are allowed.
> 10=Message type
> 00 00 82 =Length=130 Bytes
>
> 10 00 00 82 00 80 9f 4c 0f 96 87 bd c6 92 2f b8 ...
> I was able to decrypt correctly with our error for this file ...
> The length of the client key exchange is 128 bytes.
>
> what is the difference in decoding SSL 3.0 and TLS pre-master secret
See RFC 4346 7.4.7.1 Implementation Note.
Or ssl/s3_clnt.c ssl3_send_client_key_exchange()
and ssl/s3_srvr.c ssl3_get_client_key_exchange() .
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]