mbedtls_ecp_mul_restartable() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

\c 0 on success. #MBEDTLS_ERR_ECP_INVALID_KEY if \p m is not a valid private key, or \p P is not a valid public key. #MBEDTLS_ERR_MPI_ALLOC_FAILED on memory-allocation failure. #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 does the same as \c mbedtls_ecp_mul(), but it can return early and restart according to the limit set with \c mbedtls_ecp_set_max_ops() to reduce blocking.

References

from examples