mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 16:45:41 +01:00
Disable restartable ECC by default
This commit is contained in:
parent
9897cc933d
commit
c9e16a97da
@ -566,15 +566,17 @@
|
|||||||
*
|
*
|
||||||
* Enable "non-blocking" ECC operations that can return early and be resumed.
|
* Enable "non-blocking" ECC operations that can return early and be resumed.
|
||||||
*
|
*
|
||||||
* This enables \c mbedtls_ecp_set_max_ops() and allows various ECC functions
|
* This enables \c mbedtls_ecp_set_max_ops() and allows various functions
|
||||||
* to return \c MBEDTLS_ERR_ECP_IN_PROGRESS when needed.
|
* to return \c MBEDTLS_ERR_ECP_IN_PROGRESS when needed, and then be called
|
||||||
|
* again later with the same arguments in order to further progress and
|
||||||
|
* eventually complete the operation, see \c mbedtls_ecp_set_max_ops().
|
||||||
*
|
*
|
||||||
* TODO: depending on other choices, this might need to be disabled by default
|
* This is usefull in non-threaded environments if you want to avoid blocking
|
||||||
* in order to avoid changing the ABI. Revisit that later.
|
* for too long on ECC (hence, X509 or SSL/TLS) operations.
|
||||||
*
|
*
|
||||||
* Comment this macro to disable non-blocking ECC computations.
|
* Uncomment this macro to enable restartable ECC computations.
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_ECP_RESTARTABLE
|
//#define MBEDTLS_ECP_RESTARTABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \def MBEDTLS_ECDSA_DETERMINISTIC
|
* \def MBEDTLS_ECDSA_DETERMINISTIC
|
||||||
|
Loading…
Reference in New Issue
Block a user