![]() |
nrfxlib API 3.4.99
|
| psa_status_t cc3xx_asn1_get_tag | ( | unsigned char ** | p, |
| const unsigned char * | end, | ||
| size_t * | len, | ||
| int | tag ) |
Get the tag and length of the element. Check for the requested tag. Updates the pointer to immediately behind the tag and length.
| p | On entry, *p points to the start of the ASN.1 element. On successful completion, *p points to the first byte after the length, i.e. the first byte of the content. On error, the value of *p is undefined. |
| end | End of data. |
| len | On successful completion, *len contains the length read from the ASN.1 input. |
| tag | The expected tag. |