summaryrefslogtreecommitdiff
path: root/cipher/ecc-gost.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/ecc-gost.c')
-rw-r--r--cipher/ecc-gost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/ecc-gost.c b/cipher/ecc-gost.c
index a40459c0..ce3e921a 100644
--- a/cipher/ecc-gost.c
+++ b/cipher/ecc-gost.c
@@ -77,7 +77,7 @@ _gcry_ecc_gost_sign (gcry_mpi_t input, ECC_secret_key *skey,
x = mpi_alloc (0);
point_init (&I);
- ctx = _gcry_mpi_ec_p_internal_new (skey->E.model, skey->E.dialect,
+ ctx = _gcry_mpi_ec_p_internal_new (skey->E.model, skey->E.dialect, 0,
skey->E.p, skey->E.a, skey->E.b);
mpi_mod (e, input, skey->E.n); /* e = hash mod n */
@@ -164,7 +164,7 @@ _gcry_ecc_gost_verify (gcry_mpi_t input, ECC_public_key *pkey,
point_init (&Q1);
point_init (&Q2);
- ctx = _gcry_mpi_ec_p_internal_new (pkey->E.model, pkey->E.dialect,
+ ctx = _gcry_mpi_ec_p_internal_new (pkey->E.model, pkey->E.dialect, 0,
pkey->E.p, pkey->E.a, pkey->E.b);
mpi_mod (e, input, pkey->E.n); /* e = hash mod n */