scd: ECDH Support.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 22 Dec 2014 00:27:00 +0000 (09:27 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 22 Dec 2014 00:27:00 +0000 (09:27 +0900)
commitbdc8efbdd124d836c36cf482216e375421f72891
treefdc7f2669cf77ccdfd3faf2a2b2eb62549203572
parent76140141699b545f7a988bf5fc101063917e8ce3
scd: ECDH Support.

* agent/divert-scd.c (divert_pkdecrypt): Support ECDH.
* scd/app-openpgp.c (get_algo_byte, store_fpr): Support ECDH.
(send_key_attr): Support ECDH.  Fix EdDSA algorithm value.
(retrieve_key_material): Initialize fields.
(get_public_key, ecc_writekey, do_writekey): Support ECDH.
(ecdh_writekey): Remove.
(do_decipher): Support ECDH.
(parse_algorithm_attribute): Support ECDH.  Fix EdDSA.

--

Following the gpg-agent protocol, SCDaemon's counter part is now
implemented.
agent/divert-scd.c
scd/app-openpgp.c