Skip to content

Commit

Permalink
Remove old way of skipping slow implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
joostrijneveld committed Mar 20, 2018
1 parent 7c5a93a commit 27de341
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 1 addition & 4 deletions benchmarks.py
Expand Up @@ -21,12 +21,9 @@ def benchmarkBinary(benchmark, binary):
if m4ignore(primitive, scheme, implementation):
return

# skip SPHINCS and SIKE for testing
#if scheme == "sphincs-shake256-128s" or scheme == "sikep751":
# print("skipping SPHINCS/SIKE")
# return
if len(sys.argv) > 1 and scheme not in sys.argv[1:]:
return

print("Flashing {}..".format(binpath))
subprocess.run(["st-flash", "write", binpath, "0x8000000"],
stdout=sys.stdout.buffer, stderr=sys.stdout.buffer)
Expand Down
5 changes: 0 additions & 5 deletions test.py
Expand Up @@ -23,11 +23,6 @@ def doTest(binary):
if m4ignore(primitive, scheme, implementation):
return

# skip SPHINCS and SIKE for testing
#if scheme == "sphincs-shake256-128s" or scheme == "sikep751":
# print("skipping SPHINCS/SIKE")
# return

if len(sys.argv) > 1 and scheme not in sys.argv[1:]:
return

Expand Down

0 comments on commit 27de341

Please sign in to comment.