Function esp_idf_hal::sys::mbedtls_asn1_get_alg_null
source ยท pub unsafe extern "C" fn mbedtls_asn1_get_alg_null(
p: *mut *mut u8,
end: *const u8,
alg: *mut mbedtls_asn1_buf,
) -> i32
Expand description
\brief Retrieve an AlgorithmIdentifier ASN.1 sequence with NULL or no params. Updates the pointer to immediately behind the full AlgorithmIdentifier.
\param p On entry, \c *p points to the start of the ASN.1 element. On successful completion, \c *p points to the first byte beyond the AlgorithmIdentifier element. On error, the value of \c *p is undefined. \param end End of data. \param alg The buffer to receive the OID.
\return 0 if successful or a specific ASN.1 or MPI error code.