aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test_crypto.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/test_crypto.c b/test_crypto.c
index c2f5231..6a49927 100644
--- a/test_crypto.c
+++ b/test_crypto.c
@@ -33,48 +33,6 @@ static uint16_t prizes;
static struct BRANDT_Auction *ad;
static int
-test_smc_2d_array ()
-{
- gcry_mpi_point_t **array;
- uint16_t size1 = 3;
- uint16_t size2 = 7;
- uint16_t i, j;
-
- array = smc_init2 (size1, size2);
- CHECK (array, "memory allocation failed");
-
- for (i = 0; i < size1; i++)
- for (j = 0; j < size2; j++)
- CHECK (array[i][j], "point has not been initialized");
-
- smc_free2 (array, size1, size2);
- return 1;
-}
-
-
-static int
-test_smc_3d_array ()
-{
- gcry_mpi_point_t ***array;
- uint16_t size1 = 3;
- uint16_t size2 = 7;
- uint16_t size3 = 11;
- uint16_t i, j, k;
-
- array = smc_init3 (size1, size2, size3);
- CHECK (array, "memory allocation failed");
-
- for (i = 0; i < size1; i++)
- for (j = 0; j < size2; j++)
- for (k = 0; k < size3; k++)
- CHECK (array[i][j][k], "point has not been initialized");
-
- smc_free3 (array, size1, size2, size3);
- return 1;
-}
-
-
-static int
test_serialization ()
{
gcry_mpi_point_t oldp = gcry_mpi_point_new (0);
@@ -336,8 +294,6 @@ main (int argc, char *argv[])
BRANDT_init (edc);
/* tests that need to run only once */
- RUN (test_smc_2d_array);
- RUN (test_smc_3d_array);
RUN (test_serialization);
for (tests_run = 0; tests_run < repeat; tests_run++)