Skip to content

Commit

Permalink
More sensible default parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkskeller committed Mar 13, 2018
1 parent 19b3a90 commit 65085e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Compiler/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
256: 57896044624266469032429686755131815517604980759976795324963608525438406557697, \
512: 6703903964971298549787012499123814115273848577471136527425966013026501536706464354255445443244279389455058889493431223951165286470575994074291745908195329 }

BIT_LENGTHS = { -1: 24,
32: 24,
64: 32,
BIT_LENGTHS = { -1: 32,
32: 16,
64: 16,
128: 64,
256: 64,
512: 64 }
Expand Down
2 changes: 1 addition & 1 deletion Compiler/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, args, options, param=-1, assemblymode=False):
self.param = param
self.bit_length = BIT_LENGTHS[param]
print 'Default bit length:', self.bit_length
self.security = STAT_SEC[param]
self.security = 40
print 'Default security parameter:', self.security
self.galois_length = int(options.galois)
print 'Galois length:', self.galois_length
Expand Down

0 comments on commit 65085e0

Please sign in to comment.