viff

changeset 1340:614c32bfe8fb

apps/aes: Adapted program counters.
author Marcel Keller <mkeller@cs.au.dk>
date Tue, 27 Oct 2009 19:59:42 +0100
parents 99ae184a2674
children 31a1534f6b77
files apps/aes.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/apps/aes.py	Tue Oct 27 19:59:21 2009 +0100
     1.2 +++ b/apps/aes.py	Tue Oct 27 19:59:42 2009 +0100
     1.3 @@ -125,9 +125,9 @@
     1.4  
     1.5      if options.active:
     1.6          if options.exponentiation is False:
     1.7 -            max = 461
     1.8 -            js = [3 + i * 23 + j for i in range(20)
     1.9 -                  for j in range(0, 14, 2) + [15]]
    1.10 +            max = 621
    1.11 +            js = [3 + i * 31 + j for i in range(20)
    1.12 +                  for j in range(0, 21, 3) + [22]]
    1.13          elif options.exponentiation == 0 or options.exponentiation == 3:
    1.14              max = 821
    1.15              js = [1 + i * 41 + j * 3 for i in range(20) for j in range(13)]