Function EC_KEY_new_by_curve_name_ex

Source
pub unsafe extern "C" fn EC_KEY_new_by_curve_name_ex(
    ctx: *mut ossl_lib_ctx_st,
    propq: *const i8,
    nid: i32,
) -> *mut ec_key_st
Expand description

Creates a new EC_KEY object using a named curve as underlying EC_GROUP object. \param ctx The library context for to use for this EC_KEY. May be NULL in which case the default library context is used. \param propq Any property query string \param nid NID of the named curve. \return EC_KEY object or NULL if an error occurred.