Skip to main content

mbedtls_oid_get_ec_grp_algid

Function mbedtls_oid_get_ec_grp_algid 

Source
pub unsafe extern "C" fn mbedtls_oid_get_ec_grp_algid(
    oid: *const mbedtls_asn1_buf,
    grp_id: *mut mbedtls_ecp_group_id,
) -> c_int
Expand description

\brief Translate AlgorithmIdentifier OID into an EC group identifier, for curves that are directly encoded at this level

\param oid OID to use \param grp_id place to store group id

\return 0 if successful, or MBEDTLS_ERR_OID_NOT_FOUND