Home GnuPG

tests: Add ECC key generation tests.
c13164884adeUnpublished

Unpublished Commit · Learn More

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

Description

tests: Add ECC key generation tests.

* tests/keygen.c (check_generated_ecc_key): New.
(check_ecc_keys): New.
(main): Call simple ECC checks.

Although benchmark.c does ECC key generation, it does not call
gcry_pk_testkey. We do it here. Note that we should do some more
checks, for example checking that all curve parameters are available
and match the specs.

Details

Provenance
wernerAuthored on Oct 18 2012, 11:30 AM
Parents
rC8528f1ba40e5: PBKDF2: Allow empty passphrase.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCc13164884ade: tests: Add ECC key generation tests. (authored by Werner Koch <wk@gnupg.org>).Oct 30 2012, 10:12 AM