1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00
gnupg/scd
NIIBE Yutaka dd06d33655 scd: Add support of ECC pubkey attribute.
* scd/app-openpgp.c (ECC_FLAG_PUBKEY): New.
(send_key_attr, get_public_key, ecc_writekey, do_auth, do_decipher)
(parse_algorithm_attribute): Check ECC_FLAG_DJB_TWEAK.
(build_ecc_privkey_template): Add ECC_Q and ECC_Q_LEN.
Support offering public key when ECC_FLAG_PUBKEY sets.
(ecc_writekey): Supply ECC_Q and ECC_Q_LEN.
(parse_algorithm_attribute): Parse pubkey-required byte.

--

OpenPGPcard protocol specification version 3.2 supports algorithm
attributes for ECC key which specifies public key data is required for
"keytocard" command.  This change supports the feature.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-09-16 15:36:45 +09:00
..
apdu.c scd: Clean up unused shutdown method. 2016-09-02 13:58:33 +09:00
apdu.h scd: Clean up unused shutdown method. 2016-09-02 13:58:33 +09:00
app-common.h scd: Fix "Conflicting usage" bug. 2015-12-03 11:26:24 +09:00
app-dinsig.c scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:06:39 +09:00
app-geldkarte.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
app-help.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
app-nks.c Use inline functions to convert buffer data to scalars. 2015-02-11 10:28:25 +01:00
app-openpgp.c scd: Add support of ECC pubkey attribute. 2016-09-16 15:36:45 +09:00
app-p15.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
app-sc-hsm.c scd: Minor changes to app-sc-hsm. 2014-08-14 14:09:37 +02:00
app.c scd: Fix card removal/reset on multiple contexts. 2016-07-20 11:35:05 +09:00
atr.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
atr.h scd: Add option --dump-atr to command APDU. 2011-12-15 15:21:02 +01:00
ccid-driver.c scd: Clean up unused shutdown method. 2016-09-02 13:58:33 +09:00
ccid-driver.h scd: Add reder information to --card-status. 2015-11-09 16:15:44 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Fix an action after card removal. 2016-09-03 15:27:30 +09:00
iso7816.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
iso7816.h scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:06:39 +09:00
Makefile.am scd: Migrate to new API of libusb 1.0. 2016-01-27 12:24:05 +09:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c common: Add an assuan logging monitor. 2016-09-05 11:58:48 +02:00
scdaemon.h Replace use of opt.homedir by accessor functions. 2016-06-07 10:59:46 +02:00