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.
![]()
int mbedtls_asn1_get_alg_null(unsigned char **p,![]()
int mbedtls_asn1_get_alg_null(unsigned char **p,![]()
if ((ret = mbedtls_asn1_get_alg_null(&p, end, &prf_alg_oid)) != 0) {![]()
if ((ret = mbedtls_asn1_get_alg_null(p, end, alg)) != 0) {![]()
ret = mbedtls_asn1_get_alg_null(p, end, alg);![]()
if ((ret = mbedtls_asn1_get_alg_null(p, end, alg)) != 0) {
mbedtls_asn1_get_alg_null() is called by 4 functions and calls 1 function:
![]()
mbedtls_asn1_get_alg_null()
mbedtls_asn1_get_alg_null() reads 2 variables:
![]()
mbedtls_asn1_get_alg_null()