config: support ecdh