Add ECDH support (+HMAC/DSA/ECDSA/DH)

Add ECDH support with:
 - merge DH (+HMAC/DSA)
 - merge ECDSA
 - fix ECDSA merge
 - ECDH partial support