mbedtls: disable timing, unused and needs tuning on ProxSpace
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "base64.h"
|
||||
#include "ctr_drbg.h"
|
||||
#include "entropy.h"
|
||||
#include "timing.h"
|
||||
//#include "timing.h" // Beware it requires adjustments for ProxSpace
|
||||
#include "crypto_test.h"
|
||||
#include "sda_test.h"
|
||||
#include "dda_test.h"
|
||||
@@ -56,6 +56,7 @@ int ExecuteCryptoTests(bool verbose, bool ignore_time, bool include_slow_tests)
|
||||
res = mbedtls_entropy_self_test(verbose);
|
||||
if (res && !ignore_time) TestFail = true;
|
||||
|
||||
/*
|
||||
// retry for CI (when resources too low)
|
||||
for (int i = 0; i < 3; i++) {
|
||||
res = mbedtls_timing_self_test(verbose);
|
||||
@@ -64,6 +65,7 @@ int ExecuteCryptoTests(bool verbose, bool ignore_time, bool include_slow_tests)
|
||||
PrintAndLogEx(WARNING, "Repeat timing test " _RED_("%d"), i + 1);
|
||||
}
|
||||
if (res && !ignore_time) TestFail = true;
|
||||
*/
|
||||
|
||||
res = mbedtls_ctr_drbg_self_test(verbose);
|
||||
if (res) TestFail = true;
|
||||
|
||||
Reference in New Issue
Block a user