Home GnuPG
Diffusion GnuPG 4448bc44f0ba

common: Provide API to parse BER/TLV encodings.

Description

common: Provide API to parse BER/TLV encodings.

* sm/minip12.c: Factor parsing code out to ...
* common/tlv-parser.c: new.  Extend function names and provide a few
extra functions.
* common/Makefile.am (common_sources): Add new file.
* sm/minip12.c: Adjust to use the new parser API.

Details

Provenance
wernerAuthored on Oct 24 2023, 1:25 PM
Parents
rG7661d2fbc6eb: sm: Another partly rewrite of minip12.c
Branches
Unknown
Tags
Unknown