2022-12-18 01:16:15 +01:00
|
|
|
--- tests/bn_shift.c.orig Sun Dec 18 01:05:29 2022
|
2022-12-18 01:30:19 +01:00
|
|
|
+++ tests/bn_shift.c Sun Dec 18 01:29:36 2022
|
|
|
|
@@ -314,6 +314,8 @@ test_bn_rshift_to_zero(void)
|
2022-12-18 01:16:15 +01:00
|
|
|
return failed;
|
|
|
|
}
|
|
|
|
|
2022-12-18 01:30:19 +01:00
|
|
|
+#if 0
|
2022-12-18 01:16:15 +01:00
|
|
|
+
|
|
|
|
static void
|
|
|
|
benchmark_bn_lshift1(BIGNUM *bn)
|
|
|
|
{
|
2022-12-18 01:30:19 +01:00
|
|
|
@@ -507,9 +509,12 @@ benchmark_run(const struct benchmark *bm, int seconds)
|
2022-12-18 01:16:15 +01:00
|
|
|
BN_free(bn);
|
|
|
|
}
|
|
|
|
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
static void
|
|
|
|
benchmark_bn_shift(void)
|
|
|
|
{
|
2022-12-18 01:30:19 +01:00
|
|
|
+#if 0
|
2022-12-18 01:16:15 +01:00
|
|
|
const struct benchmark *bm;
|
|
|
|
size_t i;
|
|
|
|
|
2022-12-18 01:30:19 +01:00
|
|
|
@@ -517,6 +522,9 @@ benchmark_bn_shift(void)
|
2022-12-18 01:16:15 +01:00
|
|
|
bm = &benchmarks[i];
|
|
|
|
benchmark_run(bm, 5);
|
|
|
|
}
|
|
|
|
+#else
|
|
|
|
+ return;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|