perf: Fix incorrect algorithm selection in perf script
@@ -552,6 +552,7 @@ def main():
# fill todo queue with variants to test
for arch in archs:
+ if 'cipher-only' in alg_types:
for direction in directions:
for cipher_alg in cipher_algos:
# skip low performing ciphers for now
@@ -565,6 +566,7 @@ def main():
aad_size=aad_size, job_iter=job_iter))
TOTAL_VARIANTS += 1
+ if 'hash-only' in alg_types:
# skip direction for hash only algs
for hash_alg in hash_algos:
# skip low performing algorithms for now
@@ -578,6 +580,7 @@ def main():
aad_size=aad_size, job_iter=job_iter))
TOTAL_VARIANTS += 1
+ if 'aead-only' in alg_types:
for direction in directions:
for aead_alg in aead_algos:
TODO_Q.put(Variant(idx=TOTAL_VARIANTS, arch=arch, direction=direction,
