Re: [openssl-dev] MD5 in openSSL internals

2013-04-23 Thread David Jacobson
Careful about this. The technically correct answer is misleading. Yes, MD5 is used in the PRF, but it is XORed with SHA1. So you get at least the strength of stronger of the two. --David Jacobson On 4/23/13 3:31 AM, Erwann Abalea wrote: MD5 is used in TLS1.0 for RSA signing and random d

Re: [openssl-users] Re: [openssl-dev] MD5 in openSSL internals

2013-04-23 Thread Erwann Abalea
You're right. PRF in TLS1.0 is done by splitting the secret in 2 parts, hashing the first with MD5, hashing the second with SHA1, and XORing the 2 results. RSA signing in TLS1.0 is done by hashing the data with MD5 and SHA1, concatenating the 2 hash results, and signing the 36 bytes result (wit

Re: [openssl-dev] MD5 in openSSL internals

2013-04-23 Thread Erwann Abalea
MD5 is used in TLS1.0 for RSA signing and random derivation (PRF). See RFC2246. (Please note that OpenSSL hasn't been mentioned in this sentence). SHA256 used for the PRF is available with TLS1.2 only. SHA256 used for the HMAC is available for some ciphersuites defined for TLS1.2 only (but I t