mbedtls_asn1_get_alg_null() function
Retrieve an AlgorithmIdentifier ASN.1 sequence with NULL or no params. Updates the pointer to immediately behind the full AlgorithmIdentifier.
Arguments
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.
alg
The buffer to receive the OID.
Return value
0 if successful or a specific ASN.1 or MPI error code.