mbedtls_asn1_get_alg() function
Retrieve an AlgorithmIdentifier ASN.1 sequence. Updates the pointer to immediately behind the full AlgorithmIdentifier.
Arguments
p
The position in the ASN.1 data
alg
The buffer to receive the OID
params
The buffer to receive the params (if any)
Return value
0 if successful or a specific ASN.1 or MPI error code.