Function esp_idf_svc::sys::mbedtls_ecp_group_copy
source ยท pub unsafe extern "C" fn mbedtls_ecp_group_copy(
dst: *mut mbedtls_ecp_group,
src: *const mbedtls_ecp_group,
) -> i32
Expand description
\brief This function copies the contents of group \p src into group \p dst.
\param dst The destination group. This must be initialized. \param src The source group. This must be initialized.
\return \c 0 on success. \return #MBEDTLS_ERR_MPI_ALLOC_FAILED on memory-allocation failure. \return Another negative error code on other kinds of failure.