Function esp_idf_svc::sys::mbedtls_rsa_copy
source ยท pub unsafe extern "C" fn mbedtls_rsa_copy(
dst: *mut mbedtls_rsa_context,
src: *const mbedtls_rsa_context,
) -> i32
Expand description
\brief This function copies the components of an RSA context.
\param dst The destination context. This must be initialized. \param src The source context. This must be initialized.
\return \c 0 on success. \return #MBEDTLS_ERR_MPI_ALLOC_FAILED on memory allocation failure.