Function esp_idf_sys::mbedtls_pk_write_pubkey
source ยท pub unsafe extern "C" fn mbedtls_pk_write_pubkey(
p: *mut *mut c_uchar,
start: *mut c_uchar,
key: *const mbedtls_pk_context,
) -> c_int
Expand description
\brief Write a subjectPublicKey to ASN.1 data Note: function works backwards in data buffer
\param p reference to current position pointer \param start start of the buffer (for bounds-checking) \param key PK context which must contain a valid public or private key.
\return the length written or a negative error code