mbedtls_asn1_get_bool() function
Retrieve a boolean ASN.1 tag and its value. Updates the pointer to immediately behind the full tag.
Syntax
int mbedtls_asn1_get_bool( unsigned char **p,
const unsigned char *end,
int *val );
Arguments
p
The position in the ASN.1 data
val
The variable that will receive the value
Return value
0 if successful or a specific ASN.1 error code.
mbedtls_asn1_get_bool() is called by 2 functions and calls 1 function:
![]()
mbedtls_asn1_get_bool()
mbedtls_asn1_get_bool():
![]()
mbedtls_asn1_get_bool()