diff options
author | NIIBE Yutaka <[email protected]> | 2016-09-16 06:20:32 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-09-16 06:36:45 +0000 |
commit | dd06d33655bc872a6310edac8e448419479d3312 (patch) | |
tree | da153f950d2349fb3c58c18fae70f534e93c6f58 /agent/command-ssh.c | |
parent | g10: Add missing header. (diff) | |
download | gnupg-dd06d33655bc872a6310edac8e448419479d3312.tar.gz gnupg-dd06d33655bc872a6310edac8e448419479d3312.zip |
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 <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions