Function esp_idf_svc::hal::sys::mbedtls_ecp_copy
source ยท pub unsafe extern "C" fn mbedtls_ecp_copy(
P: *mut mbedtls_ecp_point,
Q: *const mbedtls_ecp_point,
) -> i32
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.