mbedtls_asn1_get_bitstring_null() function
Retrieve a bitstring ASN.1 tag without unused bits and its value. Updates the pointer to the beginning of the bit/octet string.
Syntax
int mbedtls_asn1_get_bitstring_null( unsigned char **p,
const unsigned char *end,
size_t *len );
Arguments
p
The position in the ASN.1 data
len
Length of the actual bit/octect string in bytes
Return value
0 if successful or a specific ASN.1 error code.