diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-22 02:05:00 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-22 02:05:00 +0200 |
commit | 965b4da7794b3fd0812907559c9434f98f4819fc (patch) | |
tree | 838c4ef500976af4ba636d04a246d4034a670819 /test_crypto.c | |
parent | 8d717c4b3d126104929aeb5e3a2176dd534e25ea (diff) |
smc_zkp_dl: make v an output parameter
Diffstat (limited to 'test_crypto.c')
-rw-r--r-- | test_crypto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test_crypto.c b/test_crypto.c index f8abe68..7e8fe2b 100644 --- a/test_crypto.c +++ b/test_crypto.c @@ -106,8 +106,7 @@ test_smc_zkp_dl () gcry_mpi_t x = gcry_mpi_new (0); gcry_mpi_point_t v = gcry_mpi_point_new (0); - /* v = xg */ - ec_keypair_create (v, x); + ec_skey_create (x); smc_zkp_dl (v, x, &proof); check (gcry_mpi_ec_curve_point (v, ec_ctx), "not on curve"); |