From 730f9e88658ba67b74c219d08df82f034112673d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 9 Feb 2022 17:30:02 +0100 Subject: -more refresh CS fixes --- src/lib/exchange_api_refresh_common.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/exchange_api_refresh_common.c') diff --git a/src/lib/exchange_api_refresh_common.c b/src/lib/exchange_api_refresh_common.c index 8891377e..b901bab3 100644 --- a/src/lib/exchange_api_refresh_common.c +++ b/src/lib/exchange_api_refresh_common.c @@ -146,6 +146,14 @@ TALER_EXCHANGE_get_melt_data_ ( TALER_planchet_blinding_secret_create (fc, &alg_values[j], &bks); + /* Note: we already did this for the /csr request, + so this computation is redundant, and here additionally + repeated KAPPA times. Could be avoided with slightly + more bookkeeping in the future */ + TALER_cs_refresh_nonce_derive ( + ps, + j, + &pd.blinded_planchet.details.cs_blinded_planchet.nonce); if (GNUNET_OK != TALER_planchet_prepare (&md->fresh_pks[j], &alg_values[j], -- cgit v1.2.3