Function esp_idf_svc::sys::mbedtls_ecjpake_set_point_format
source ยท pub unsafe extern "C" fn mbedtls_ecjpake_set_point_format(
ctx: *mut mbedtls_ecjpake_context,
point_format: i32,
) -> i32
Expand description
\brief Set the point format for future reads and writes.
\param ctx The ECJPAKE context to configure. \param point_format The point format to use: #MBEDTLS_ECP_PF_UNCOMPRESSED (default) or #MBEDTLS_ECP_PF_COMPRESSED.
\return \c 0 if successful. \return #MBEDTLS_ERR_ECP_BAD_INPUT_DATA if \p point_format is invalid.