PRF and handshake hash revision.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 25 Nov 2015 18:20:50 +0000 (18:20 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 27 Nov 2015 19:04:14 +0000 (19:04 +0000)
Change handshake hash array into a single digest context simplifying the
handhake hash code. Use EVP_md5_sha1() if needed for handshake hashes in
TLS 1.1 and earlier.

Simplify PRF code to also use a single digest and treat EVP_md5_sha1()
as a special case.

Modify algorithm2 field of ciphers to use a single index value for handshake
hash and PRF instead of a bitmap.

Reviewed-by: Matt Caswell <matt@openssl.org>

No differences found