mbedtls_asn1_get_bool() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

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 );
Implemented in asn1parse.c:123

Arguments

p

The position in the ASN.1 data

end

End of data

val

The variable that will receive the value

Return value

0 if successful or a specific ASN.1 error code.

References

LocationReferrerText
asn1parse.c:123
int mbedtls_asn1_get_bool( unsigned char **p,
asn1.h:217
int mbedtls_asn1_get_bool( unsigned char **p,
x509_crt.c:495x509_get_basic_constraints()
if( ( ret = mbedtls_asn1_get_bool( p, end, ca_istrue ) ) != 0 )
x509_crt.c:737x509_get_crt_ext()
if( ( ret = mbedtls_asn1_get_bool( p, end_ext_data, &is_critical ) ) != 0 &&

Call Tree

Functions calling mbedtls_asn1_get_bool()
Functions called by mbedtls_asn1_get_bool()
mbedtls_asn1_get_bool()
all items filtered out
Data read by mbedtls_asn1_get_bool()
Data written by mbedtls_asn1_get_bool()
mbedtls_asn1_get_bool()::ret
mbedtls_asn1_get_bool()::len
all items filtered out
mbedtls_asn1_get_bool()
mbedtls_asn1_get_bool()::ret
all items filtered out
Type of mbedtls_asn1_get_bool()
mbedtls_asn1_get_bool()
size_t
all items filtered out