Home
last modified time | relevance | path

Searched refs:ecp_max_ops (Results 1 - 1 of 1) sorted by relevance

/third_party/mbedtls/library/
H A Decp.c97 * Note that regardless of the value of ecp_max_ops, always at
100 * Setting ecp_max_ops=1 can be suitable for testing purposes
103 static unsigned ecp_max_ops = 0; variable
106 * Set ecp_max_ops
110 ecp_max_ops = max_ops; in mbedtls_ecp_set_max_ops()
118 return ecp_max_ops != 0; in mbedtls_ecp_restart_is_enabled()
250 if (rs_ctx != NULL && ecp_max_ops != 0) { in mbedtls_ecp_check_budget()
261 * that ops_done <= ecp_max_ops, so the check in mbedtls_ecp_check_budget()
262 * ops_done > ecp_max_ops below is mandatory. */ in mbedtls_ecp_check_budget()
264 (rs_ctx->ops_done > ecp_max_ops || in mbedtls_ecp_check_budget()
[all...]

Completed in 2 milliseconds