pq-code-package / mlkem-native

High-assurance, high-performance ML-KEM implementation for mobile, pc, and server targets
https://pq-code-package.github.io/mlkem-native/dev/bench/
Apache License 2.0
11 stars 9 forks source link

fix: tests bench --opt=all and tests all --no-acvp #407

Closed hanno-becker closed 1 week ago

hanno-becker commented 1 week ago

Fix tests bench --opt=all only compile the benchmark once and run the binary twice, while it should compile and run the opt benchmark then compile and run the non-opt benchmark instead.

Fix tests all flag --no-acvp not actually used in function all, accidentally acvp tests would be disabled if kat test is disabled.