Home GnuPG

tests/bench-slope: add ECC benchmarking

Description

tests/bench-slope: add ECC benchmarking

* tests/bench-slope.c (bench_print_result_nsec_per_iteration): New.
(bench_print_header_nsec_per_iteration): New.
(kdf_bench_one, kdf_bench): Use new print helper functions.
[USE_ECC]: New ECC benchmarks.
(ecc_bench): New.
(print_help): Add 'ecc' option.
(main): Add ECC benchmarks.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Apr 17 2021, 4:06 PM
Parents
rCb53abf7905e0: tests/benchmark: add benchmark for Ed448
Branches
Unknown
Tags
Unknown