crypto: use compatible ecdh function
Refs https://github.com/electron/electron/pull/27688.
This PR switches ECDH::SetPrivateKey
to use a compatible ECDH function - the previously used one is a no-op in BoringSSL. Also change an algorithm in the associated test suite to one supported by BoringSSL so we can run more smoke tests.