コード例 #1
0
ファイル: pal_eckey.cpp プロジェクト: jemmy655/corefx
// 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);
}
コード例 #2
0
ファイル: pal_eckey.c プロジェクト: AmeerThasthahir/corefx
EC_KEY* CryptoNative_EcKeyCreateByOid(const char* oid)
{
    // oid can be friendly name or value
    int nid = OBJ_txt2nid(oid);
    return CryptoNative_EcKeyCreateByCurveName(nid);
}