viff

changeset 869:90be9eacb471

Use correct preprocessing function.
author Martin Geisler <mg@daimi.au.dk>
date Fri, 01 Aug 2008 12:08:16 +0200
parents 893257d36460
children acd3b135a0ee
files apps/benchmark.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/apps/benchmark.py	Fri Aug 01 01:30:47 2008 +0200
     1.2 +++ b/apps/benchmark.py	Fri Aug 01 12:08:16 2008 +0200
     1.3 @@ -137,12 +137,12 @@
     1.4              print "Starting preprocessing"
     1.5              if self.operation == operator.mul:
     1.6                  program_desc = {
     1.7 -                    ("generate_triples", (Zp,)):
     1.8 +                    ("prss_generate_triple", (Zp,)):
     1.9                          [(i, 1, 0) for i in range(3 + 2*count, 3 + 3*count)]
    1.10                      }
    1.11              elif isinstance(self.rt, ActiveToft05Runtime):
    1.12                  program_desc = {
    1.13 -                    ("generate_triples", (GF256,)):
    1.14 +                    ("prss_generate_triple", (GF256,)):
    1.15                      sum([[(c, 64, i, 1, 1, 0) for i in range(2, 33)] +
    1.16                           [(c, 64, i, 3, 1, 0) for i in range(17, 33)]
    1.17                           for c in range(3 + 2*count, 3 + 3*count)],
    1.18 @@ -150,7 +150,7 @@
    1.19                      }
    1.20              elif isinstance(self.rt, ActiveToft07Runtime):
    1.21                  program_desc = {
    1.22 -                    ("generate_triples", (Zp,)):
    1.23 +                    ("prss_generate_triple", (Zp,)):
    1.24                      sum([[(c, 2, 4, i, 2, 1, 0) for i in range(1, 33)] +
    1.25                           [(c, 2, 4, 99, 2, 1, 0)] +
    1.26                           [(c, 2, 4, i, 1, 0) for i in range(65, 98)]