scd: Support KDF DO setup.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 22 Mar 2018 06:50:31 +0000 (15:50 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 22 Mar 2018 06:50:31 +0000 (15:50 +0900)
commit0152ba7c987443d641ce1091c79f90ef2cc46498
tree19f8720d0ddde293ec2cebdf33e07b73217d9825
parent34ec0125614674725cb78cf9f8d5e6b0f8c64064
scd: Support KDF DO setup.

* g10/call-agent.c (learn_status_cb): Parse the capability for KDF.
* g10/card-util.c (gen_kdf_data, kdf_setup): New.
(card_edit): New admin command cmdKDFSETUP to call kdf_setup.
* scd/app-openpgp.c (do_getattr): Emit KDF capability.

--

GnuPG-bug-id: 3823
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/call-agent.c
g10/call-agent.h
g10/card-util.c
scd/app-openpgp.c