mbedtls_pk_write_pubkey() function
Write a subjectPublicKey to ASN.1 data Note: function works backwards in data buffer
Arguments
p
reference to current position pointer
start
start of the buffer (for bounds-checking)
key
PK context which must contain a valid public or private key.
Return value
the length written or a negative error code
mbedtls_pk_write_pubkey() is called by 2 functions and calls 4 functions:
![]()
mbedtls_pk_write_pubkey()
mbedtls_pk_write_pubkey() reads 2 variables:
![]()
mbedtls_pk_write_pubkey()