Skip to main content

mbedtls_oid_get_md_hmac

Function mbedtls_oid_get_md_hmac 

Source
pub unsafe extern "C" fn mbedtls_oid_get_md_hmac(
    oid: *const mbedtls_asn1_buf,
    md_hmac: *mut mbedtls_md_type_t,
) -> c_int
Expand description

\brief Translate hmac algorithm OID into md_type

\param oid OID to use \param md_hmac place to store message hmac algorithm

\return 0 if successful, or MBEDTLS_ERR_OID_NOT_FOUND