Function esp_idf_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,
) -> c_int
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.