pub unsafe extern "C" fn mbedtls_asn1_get_alg(
    p: *mut *mut c_uchar,
    end: *const c_uchar,
    alg: *mut mbedtls_asn1_buf,
    params: *mut mbedtls_asn1_buf
) -> c_int
Expand description

\brief Retrieve an AlgorithmIdentifier ASN.1 sequence. 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. \param params The buffer to receive the parameters. This is zeroized if there are no parameters.

\return 0 if successful or a specific ASN.1 or MPI error code.