add ECDH partial support