Home GnuPG
Diffusion GnuPG 010bc7f4f06d

scd: support ECDSA public key.
010bc7f4f06dUnpublished

Unpublished Commit · Learn More

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

Description

scd: support ECDSA public key.

* scd/app-openpgp.c (key_type_t): New.
(CURVE_NIST_P256, CURVE_NIST_P384, CURVE_NIST_P521): New.
(struct app_local_s): Change keyattr to have key_type and union.
(get_ecc_key_parameters, get_curve_name): New.
(send_key_attr, get_public_key): Support ECDSA.
(build_privkey_template, do_writekey, do_genkey): Follow the change
of the member KEY_ATTR.
(parse_historical): New.
(parse_algorithm_attribute): Support ECDSA.

Add ECDSA support to OpenPGP card.

Details

Provenance
gniibeAuthored on Mar 8 2013, 3:40 AM
Parents
rG5132ea8a0d85: Update RFC references to RFC 4880
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG010bc7f4f06d: scd: support ECDSA public key. (authored by NIIBE Yutaka <gniibe@fsij.org>).Mar 8 2013, 3:40 AM