mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: New function openpgp_is_curve_supported.
* common/openpgp-oid.c: Include openpgpdefs.h. (oidtable): Add field pubkey_algo. (openpgp_is_curve_supported): New. -- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c9f9fabdcc
commit
072acb69be
2 changed files with 31 additions and 4 deletions
|
@ -214,7 +214,7 @@ int openpgp_oid_is_crv25519 (gcry_mpi_t a);
|
|||
const char *openpgp_curve_to_oid (const char *name, unsigned int *r_nbits);
|
||||
const char *openpgp_oid_to_curve (const char *oid, int canon);
|
||||
const char *openpgp_enum_curves (int *idxp);
|
||||
|
||||
const char *openpgp_is_curve_supported (const char *name, int *r_algo);
|
||||
|
||||
|
||||
/*-- homedir.c --*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue