aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_helper_cs.c
diff options
context:
space:
mode:
authorGian Demarmels <gian@demarmels.org>2022-01-09 16:49:27 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:36:08 +0100
commit9c2aefaa515ce8d493bfe4de4eab9edc09d5447e (patch)
treea12da09f8fedb383be5baa9bc1e8f597e4071448 /src/util/test_helper_cs.c
parent9074e66ebc8b73ecc98500f32af52088fd7f0722 (diff)
downloadexchange-9c2aefaa515ce8d493bfe4de4eab9edc09d5447e.tar.xz
removed varargs
Diffstat (limited to 'src/util/test_helper_cs.c')
-rw-r--r--src/util/test_helper_cs.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/util/test_helper_cs.c b/src/util/test_helper_cs.c
index 501a398fa..8ce380d46 100644
--- a/src/util/test_helper_cs.c
+++ b/src/util/test_helper_cs.c
@@ -319,10 +319,8 @@ test_r_derive (struct TALER_CRYPTO_CsDenominationHelper *dh)
"Received valid R for key %s\n",
GNUNET_h2s (&keys[i].h_cs.hash));
- TALER_blinding_secret_create (&ps.blinding_key,
- TALER_DENOMINATION_CS,
- &ps.coin_priv,
- &ps.cs_r_pub);
+ TALER_planchet_blinding_secret_create (&ps,
+ TALER_DENOMINATION_CS);
GNUNET_assert (GNUNET_OK ==
TALER_planchet_prepare (&keys[i].denom_pub,
&ps,
@@ -426,10 +424,8 @@ test_signing (struct TALER_CRYPTO_CsDenominationHelper *dh)
details.
cs_blinded_planchet.nonce,
&ec);
- TALER_blinding_secret_create (&ps.blinding_key,
- TALER_DENOMINATION_CS,
- &ps.coin_priv,
- &ps.cs_r_pub);
+ TALER_planchet_blinding_secret_create (&ps,
+ TALER_DENOMINATION_CS);
GNUNET_assert (GNUNET_YES ==
TALER_planchet_prepare (&keys[i].denom_pub,
@@ -614,10 +610,8 @@ perf_signing (struct TALER_CRYPTO_CsDenominationHelper *dh,
details.
cs_blinded_planchet.nonce,
&ec);
- TALER_blinding_secret_create (&ps.blinding_key,
- TALER_DENOMINATION_CS,
- &ps.coin_priv,
- &ps.cs_r_pub);
+ TALER_planchet_blinding_secret_create (&ps,
+ TALER_DENOMINATION_CS);
GNUNET_assert (GNUNET_YES ==
TALER_planchet_prepare (&keys[i].denom_pub,