Justify some max_ops settings in test_suite_pk
diff --git a/tests/suites/test_suite_pk.function b/tests/suites/test_suite_pk.function
index a215836..2cdc363 100644
--- a/tests/suites/test_suite_pk.function
+++ b/tests/suites/test_suite_pk.function
@@ -137,7 +137,8 @@
rs_ctx = &ctx;
mbedtls_pk_restart_init( rs_ctx );
- mbedtls_ecp_set_max_ops( 42 );
+ // this setting would ensure restart would happen if ECC was used
+ mbedtls_ecp_set_max_ops( 1 );
#endif
mbedtls_pk_init( &pk );
@@ -385,6 +386,9 @@
rs_ctx = &ctx;
mbedtls_pk_restart_init( rs_ctx );
+ /* This value is large enough that the operation will complete in one run.
+ * See comments at the top of ecp_test_vect_restart in
+ * test_suite_ecp.function for estimates of operation counts. */
mbedtls_ecp_set_max_ops( 42000 );
#endif