aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pkglue.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/pkglue.h')
-rw-r--r--g10/pkglue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/pkglue.h b/g10/pkglue.h
index abeddb811..f0d7a0414 100644
--- a/g10/pkglue.h
+++ b/g10/pkglue.h
@@ -37,6 +37,9 @@ int pk_check_secret_key (pubkey_algo_t algo, gcry_mpi_t *skey);
/*-- ecdh.c --*/
+gpg_error_t
+build_kdf_params (unsigned char kdf_params[256], size_t *r_size,
+ gcry_mpi_t *pkey, const byte pk_fp[MAX_FINGERPRINT_LEN]);
gcry_mpi_t pk_ecdh_default_params (unsigned int qbits);
gpg_error_t pk_ecdh_generate_ephemeral_key (gcry_mpi_t *pkey, gcry_mpi_t *r_k);
gpg_error_t pk_ecdh_encrypt_with_shared_point