Fix ECDH detection, add ECDH keyid test.