// TODO: temporarily keeping the un-prefixed signature of this method // to keep tests running in CI. This will be removed once the managed assemblies // are synced up with the native assemblies. extern "C" EC_KEY* EcKeyCreateByCurveName(int32_t nid) { return CryptoNative_EcKeyCreateByCurveName(nid); }
EC_KEY* CryptoNative_EcKeyCreateByOid(const char* oid) { // oid can be friendly name or value int nid = OBJ_txt2nid(oid); return CryptoNative_EcKeyCreateByCurveName(nid); }