nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ cc3xx_asn1_write_tag()

int cc3xx_asn1_write_tag ( unsigned char ** p,
const unsigned char * start,
unsigned char tag )

Write an ASN.1 tag in ASN.1 format.

Note
This function works backwards in data buffer.
Parameters
pThe reference to the current position pointer.
startThe start of the buffer, for bounds-checking.
tagThe tag to write.
Returns
The number of bytes written to p on success.
PSA_ERROR_BUFFER_TOO_SMALL if the buffer is too small.