Home GnuPG
Diffusion GnuPG 24095101a506

common: Extend the openpgp_curve_to_oid function.

Description

common: Extend the openpgp_curve_to_oid function.

* common/openpgp-oid.c (openpgp_curve_to_oid): Add optional arg R_NBITS.
Change all callers.

In particular for ed25519 and cv25519 it is quite useful to have an
ability to get the required algorithm.

Details

Provenance
wernerAuthored on Feb 11 2020, 2:38 PM
Parents
rG113a8288b857: doc: Improve the warning section of the gpg man page.
Branches
Unknown
Tags
Unknown