From c7c0beedd59c96c18c11e6dd680e4c12fda2d5c8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 Feb 2022 12:35:00 +0100 Subject: -rename fest --- src/util/test_crypto.c | 2 +- src/util/test_helper_cs.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c index 46ed2b92b..89955ac7e 100644 --- a/src/util/test_crypto.c +++ b/src/util/test_crypto.c @@ -213,7 +213,7 @@ test_planchets_cs (void) TALER_denom_cs_derive_r_public ( &pd.blinded_planchet.details.cs_blinded_planchet.nonce, &dk_priv, - &alg_values.details.cs_values.r_pub)); + &alg_values.details.cs_values.r_pub_pair)); TALER_planchet_setup_coin_priv (&ps, &alg_values, diff --git a/src/util/test_helper_cs.c b/src/util/test_helper_cs.c index 4f635d404..4a3208e8a 100644 --- a/src/util/test_helper_cs.c +++ b/src/util/test_helper_cs.c @@ -297,7 +297,7 @@ test_r_derive (struct TALER_CRYPTO_CsDenominationHelper *dh) "Requesting R derivation with key %s\n", GNUNET_h2s (&keys[i].h_cs.hash)); - alg_values.details.cs_values.r_pub + alg_values.details.cs_values.r_pub_pair = TALER_CRYPTO_helper_cs_r_derive (dh, &keys[i].h_cs, &pd.blinded_planchet. @@ -443,7 +443,7 @@ test_signing (struct TALER_CRYPTO_CsDenominationHelper *dh) TALER_cs_withdraw_nonce_derive (&ps, &pd.blinded_planchet.details. cs_blinded_planchet.nonce); - alg_values.details.cs_values.r_pub + alg_values.details.cs_values.r_pub_pair = TALER_CRYPTO_helper_cs_r_derive (dh, &keys[i].h_cs, &pd.blinded_planchet. @@ -602,12 +602,13 @@ perf_signing (struct TALER_CRYPTO_CsDenominationHelper *dh, GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_STRONG, &ps, sizeof (ps)); - alg_values.cipher = TALER_DENOMINATION_CS; - - TALER_planchet_setup_coin_priv (&ps, &alg_values, &coin_priv); - TALER_planchet_blinding_secret_create (&ps, &alg_values, &bks); - + TALER_planchet_setup_coin_priv (&ps, + &alg_values, + &coin_priv); + TALER_planchet_blinding_secret_create (&ps, + &alg_values, + &bks); duration = GNUNET_TIME_UNIT_ZERO; TALER_CRYPTO_helper_cs_poll (dh); for (unsigned int j = 0; j