diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2019-10-18 11:23:08 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2019-10-18 11:23:08 +0900 |
commit | 579d5d6017d63b5eabec588b24d1a22566455bac (patch) | |
tree | 1b72d196352c0858b4790798b0b4246656bb4be4 /cipher/ecc-common.h | |
parent | 95cc9b8f4483fd7edfc7555199f6a05cfa68a236 (diff) | |
download | libgcrypt-579d5d6017d63b5eabec588b24d1a22566455bac.tar.gz |
ecc: Simplify compute_keygrip.
* cipher/ecc-curves.c (_gcry_ecc_update_curve_param): Remove H.
* cipher/ecc.c (compute_keygrip): Don't get H, since it's not
used in the computation.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'cipher/ecc-common.h')
-rw-r--r-- | cipher/ecc-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/ecc-common.h b/cipher/ecc-common.h index 5140663c..8d74ce15 100644 --- a/cipher/ecc-common.h +++ b/cipher/ecc-common.h @@ -76,7 +76,7 @@ gpg_err_code_t _gcry_ecc_update_curve_param (const char *name, enum ecc_dialects *dialect, gcry_mpi_t *p, gcry_mpi_t *a, gcry_mpi_t *b, gcry_mpi_t *g, - gcry_mpi_t *n, gcry_mpi_t *h); + gcry_mpi_t *n); const char *_gcry_ecc_get_curve (gcry_sexp_t keyparms, int iterator, |