mbedtls_asn1_get_sequence_of() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSmbedtls_asn1_get_sequence_of()

mbedtls_asn1_get_sequence_of() function

Parses and splits an ASN.1 "SEQUENCE OF " Updated the pointer to immediately behind the full sequence tag.

Syntax

int mbedtls_asn1_get_sequence_of( unsigned char **p,     const unsigned char *end,     mbedtls_asn1_sequence *cur,     int tag);
Implemented in asn1parse.c:237

Arguments

p

The position in the ASN.1 data

end

End of data

cur

First variable in the chain to fill

tag

Type of sequence

Return value

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

References

LocationReferrerText
asn1parse.c:237
int mbedtls_asn1_get_sequence_of( unsigned char **p,
asn1.h:273
int mbedtls_asn1_get_sequence_of( unsigned char **p,
x509_crt.c:577x509_get_ext_key_usage()
if( ( ret = mbedtls_asn1_get_sequence_of( p, end, ext_key_usage, MBEDTLS_ASN1_OID ) ) != 0 )

Call Tree

Functions calling mbedtls_asn1_get_sequence_of()
Functions called by mbedtls_asn1_get_sequence_of()
all items filtered out
mbedtls_asn1_get_sequence_of()
calloc()
all items filtered out
Data read by mbedtls_asn1_get_sequence_of()
Data written by mbedtls_asn1_get_sequence_of()
mbedtls_asn1_get_sequence_of()
mbedtls_asn1_get_sequence_of()::ret
mbedtls_asn1_get_sequence_of()::buf
all items filtered out
Type of mbedtls_asn1_get_sequence_of()
mbedtls_asn1_get_sequence_of()
size_t
all items filtered out
Types allocated by mbedtls_asn1_get_sequence_of()
mbedtls_asn1_get_sequence_of()
all items filtered out