src/LLC/eckey.cpp
ECKey::ECKey()
    : pkey(EC_KEY_new_by_curve_name(NID_sect571r1))
    , fSet(false)
    , fCompressedPubKey(false)
    , nCurveID(NID_sect571r1)
    , nKeySize(72)
    {
        /* Check for failure. */
        if(pkey == nullptr)
            throw key_error("ECKey::ECKey() : EC_KEY_new_by_curve_name failed");
    }
/* Constructor with default curve type. */
Constructor with default curve type.
Constructor with default curve type .
ECKey::ECKey()
    : pkey(EC_KEY_new_by_curve_name(NID_sect571r1))
    , fSet(false)
    , fCompressedPubKey(false)
    , nCurveID(NID_sect571r1)
    , nKeySize(72)
    {
        if(pkey == nullptr)
            throw key_error("ECKey::ECKey() : EC_KEY_new_by_curve_name failed");
    }
ECKey :: ECKey ( ) : pkey ( EC_KEY_new_by_curve_name ( NID_sect571r1 ) ) , fSet ( false ) , fCompressedPubKey ( false ) , nCurveID ( NID_sect571r1 ) , nKeySize ( 72 ) { if ( pkey == nullptr ) throw key_error ( " " ) ; }
Constructor with default curve type.
Constructor with default curve type .
/* Check for failure. */