Get curve from openssl.