For TLSv1.2, cert and key messages use SHA-256 or SHA-384 as expected.
Builds the hash/sig algorithm extension list based on the available cipher suites and hashes
Fixed merge conflict with stashed code
bug fix
client sends sig/hash hello extension to server, server sends a selection (hardcoded) back, and both use the selection
Server and client tell each other which sig/hash algos they support, peers pick from the list and use it indicating which one they used as appropriate.
length check the hello extensions
merge branch tls12 into master
Merge branch 'tls12'
Merge branch 'master' of github.com:cyassl/cyassl