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)
commit28ba2541f9f5e61ddef548d3bead494ff6946db2
tree62ce07aee098ea394943f63e20e829a702961ce0
parent2a9b96548afc0d540ab873a31dc1a72c66cba434
PRF and handshake hash revision.

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>
ssl/s3_enc.c
ssl/ssl_algs.c
ssl/ssl_ciph.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/t1_enc.c