diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2019-10-15 11:19:29 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2019-10-28 13:30:50 +0100 |
commit | e2186a3606bf80a7c1537690626aecd835a7c272 (patch) | |
tree | 3b0e512c3c920bdbdd73b4c3076cafc90a5bf837 /tests/benchmark-crypto-hash.c | |
parent | 187f35512106501fe9a11057f4d8705431e0026d (diff) |
tests: allow filtering crypto cipher benchmark tests
Add support for specifying a cipher mode and chunk size as argv to
filter which combinations are benchmarked. For example to only
benchmark XTS mode with 512 byte chunks:
./tests/benchmark-crypto-cipher xts 512
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/benchmark-crypto-hash.c')
0 files changed, 0 insertions, 0 deletions