diff options
Diffstat (limited to 'g10/pkglue.h')
-rw-r--r-- | g10/pkglue.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/pkglue.h b/g10/pkglue.h index 77a380191..5780e2356 100644 --- a/g10/pkglue.h +++ b/g10/pkglue.h @@ -36,7 +36,7 @@ int pk_check_secret_key (pubkey_algo_t algo, gcry_mpi_t *skey); 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 -/* */ (int is_encrypt, gcry_mpi_t shared_mpi, +/* */ (int is_encrypt, const char *shared, size_t nshared, const byte pk_fp[MAX_FINGERPRINT_LEN], gcry_mpi_t data, gcry_mpi_t *pkey, gcry_mpi_t *out); @@ -44,7 +44,8 @@ gpg_error_t pk_ecdh_encrypt_with_shared_point int pk_ecdh_encrypt (gcry_mpi_t *resarr, const byte pk_fp[MAX_FINGERPRINT_LEN], gcry_mpi_t data, gcry_mpi_t * pkey); int pk_ecdh_decrypt (gcry_mpi_t *result, const byte sk_fp[MAX_FINGERPRINT_LEN], - gcry_mpi_t data, gcry_mpi_t shared, gcry_mpi_t * skey); + gcry_mpi_t data, const char *shared, size_t nshared, + gcry_mpi_t *skey); #endif /*GNUPG_G10_PKGLUE_H*/ |