Home GnuPG

tests: Add a benchmark for Elgamal.
e6d354865bf8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: Add a benchmark for Elgamal.

* tests/benchmark.c (sample_public_elg_key_1024): New.
(sample_private_elg_key_1024): New.
(sample_public_elg_key_2048, sample_private_elg_key_2048): New.
(sample_public_elg_key_3072, sample_private_elg_key_3072): New.
(elg_bench): New.
(main): Add elg_bench.  Add commands "elg" and "public".

Details

Provenance
wernerAuthored on Aug 9 2014, 2:36 PM
Parents
rC9933b9e5e1a3: ecc: Add cofactor to domain parameters.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCe6d354865bf8: tests: Add a benchmark for Elgamal. (authored by Werner Koch <wk@gnupg.org>).Aug 9 2014, 2:59 PM