mbedtls_ecp_muladd_restartable() is only used within mbedTLS.
 
Symbols
loading (3/5)...
Files
loading (4/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

\c 0 on success. #MBEDTLS_ERR_ECP_INVALID_KEY if \p m or \p n are not valid private keys, or \p P or \p Q are not valid public keys. #MBEDTLS_ERR_MPI_ALLOC_FAILED on memory-allocation failure. #MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE if \p grp does not designate a short Weierstrass curve. #MBEDTLS_ERR_ECP_IN_PROGRESS if maximum number of operations was reached: see \c mbedtls_ecp_set_max_ops(). Another negative error code on other kinds of failure.

Notes

This function works the same as \c mbedtls_ecp_muladd(), but it can return early and restart according to the limit set with \c mbedtls_ecp_set_max_ops() to reduce blocking. This function is only defined for short Weierstrass curves. It may not be included in builds without any short Weierstrass curve.

References