summaryrefslogtreecommitdiffstats
path: root/common/openpgpdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/openpgpdefs.h')
-rw-r--r--common/openpgpdefs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/openpgpdefs.h b/common/openpgpdefs.h
index 05f3621..e50c94e 100644
--- a/common/openpgpdefs.h
+++ b/common/openpgpdefs.h
@@ -130,8 +130,8 @@ sigsubpkttype_t;
typedef enum
{
AEAD_ALGO_NONE = 0,
- AEAD_ALGO_EAX = 1,
- AEAD_ALGO_OCB = 2
+ AEAD_ALGO_EAX = 1, /* Deprecated. */
+ AEAD_ALGO_OCB = 2 /* The one and only. */
}
aead_algo_t;
@@ -226,5 +226,8 @@ gpg_error_t compute_openpgp_fpr_ecc (int keyversion,
unsigned char *result,
unsigned int *r_resultlen);
+/*-- openpgp-oid.c --*/
+enum gcry_pk_algos map_openpgp_pk_to_gcry (pubkey_algo_t algo);
+
#endif /*GNUPG_COMMON_OPENPGPDEFS_H*/