Home GnuPG
Diffusion GnuPG c825117c5fa5

common: New function to uncompress an ECC public key.

Description

common: New function to uncompress an ECC public key.

* common/sexputil.c (ec2os): New.
(uncompress_ecc_q_in_canon_sexp): New.
* common/t-sexputil.c (fail2): new.
(test_ecc_uncompress): New.
(main): Run new test.

(cherry picked from commit 935765b451aadc63fbba763a4a00f4efa0254436)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 29 2021, 12:31 PM
Parents
rG473e649ea1a6: common: New function cmp_canon_sexp.
Branches
Unknown
Tags
Unknown