aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-07-04 05:33:49 +0000
committerNIIBE Yutaka <[email protected]>2025-07-04 05:33:49 +0000
commit9444949780907c4175a01d960e56851547def95f (patch)
tree27ea29b8bb7686da3fea85212bcc76ac38bc28f4 /common/util.h
parentgpg:ecc: Use the common function of gnupg_get_ecc_params. (diff)
downloadgnupg-9444949780907c4175a01d960e56851547def95f.tar.gz
gnupg-9444949780907c4175a01d960e56851547def95f.zip
common: Remove openpgp_oid_to_kem_algo.
* common/openpgp-oid.c (oidtable): Don't include kem_algo. (openpgp_oid_to_kem_algo): Remove. -- The information is now retrieved by openpgp_oid_to_curve + gnupg_get_ecc_params. GnuPG-bug-id: 7698 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h
index e8e6ed409..3a5f086f9 100644
--- a/common/util.h
+++ b/common/util.h
@@ -227,7 +227,6 @@ int openpgp_oidbuf_is_cv25519 (const void *buf, size_t len);
int openpgp_oid_is_cv25519 (gcry_mpi_t a);
int openpgp_oid_is_cv448 (gcry_mpi_t a);
int openpgp_oid_is_ed448 (gcry_mpi_t a);
-enum gcry_kem_algos openpgp_oid_to_kem_algo (const char *oidname);
const char *openpgp_curve_to_oid (const char *name,
unsigned int *r_nbits, int *r_algo,
int selector);