Function esp_idf_sys::mbedtls_ecp_copy
source ยท pub unsafe extern "C" fn mbedtls_ecp_copy(
P: *mut mbedtls_ecp_point,
Q: *const mbedtls_ecp_point,
) -> c_int
Expand description
\brief This function copies the contents of point \p Q into point \p P.
\param P The destination point. This must be initialized. \param Q The source point. This must be initialized.
\return \c 0 on success. \return #MBEDTLS_ERR_MPI_ALLOC_FAILED on memory-allocation failure. \return Another negative error code for other kinds of failure.