aboutsummaryrefslogtreecommitdiffstats
path: root/common/sexputil.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-04-27 14:53:30 +0000
committerWerner Koch <[email protected]>2020-04-27 17:54:39 +0000
commit5da6925a334c68d736804d8f19a684a678409d99 (patch)
treec68a6f6c8ab61d687d32b4f2ce26f97e107ad02e /common/sexputil.c
parentcommon: Add an easy to use DER builder. (diff)
downloadgnupg-5da6925a334c68d736804d8f19a684a678409d99.tar.gz
gnupg-5da6925a334c68d736804d8f19a684a678409d99.zip
sm: Add support to export ECC private keys.
* sm/minip12.c [TEST]: Remove test code. Include util.h, tlv.h. and openpgpdefs.h. Remove the class and tag constants and replace them by those from tlv.h. (builder_add_oid, builder_add_mpi): New. (build_key_sequence): Rename to ... (build_rsa_key_sequence): this. (build_ecc_key_sequence): New. (p12_build): Call RSA or ECC builder. (p12_raw_build): Ditto. * sm/export.c (gpgsm_p12_export): Use correct armor header for ECC. (sexp_to_kparms): Support ECC. * sm/t-minip12.c: New to replace the former TEST code in minip12.h. -- GnuPG-bug-id: 4921
Diffstat (limited to 'common/sexputil.c')
0 files changed, 0 insertions, 0 deletions