diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2014-12-20 08:48:48 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2014-12-20 08:48:48 +0100 |
commit | ed4f66d8c2868e5196aba61b5fc23e223a657ad4 (patch) | |
tree | 332e7fb40beb297531e813643b7f843a757cdeb0 /src | |
parent | bff7e578ee043501a90cd2268c2980b99aa019ce (diff) |
Reenabling the NUM_WORDS define.
Diffstat (limited to 'src')
-rwxr-xr-x | src/sw/trng_extract.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sw/trng_extract.py b/src/sw/trng_extract.py index 0da8ae8..a47fb54 100755 --- a/src/sw/trng_extract.py +++ b/src/sw/trng_extract.py @@ -291,8 +291,7 @@ def get_rosc_entropy(dev): if VERBOSE: print "Reading rosc entropy data." -# for i in range(NUM_WORDS): - for i in range(10): + for i in range(NUM_WORDS): wait_ready(dev, ENT2_PREFIX, ENT2_STATUS) my_data = dev.read_data(ENT2_PREFIX, ENT2_ENT_DATA) print_data(my_data) @@ -314,6 +313,7 @@ def looptest(dev): if not ent_status[7]: print("Got: %d" % ent_status[7]) + #---------------------------------------------------------------- # main #---------------------------------------------------------------- |