From 4472cbaf9d1b17733caee421593a5229215df1a2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 11 Feb 2022 11:55:59 +0100 Subject: -simplify structures --- src/include/taler_crypto_lib.h | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) (limited to 'src/include/taler_crypto_lib.h') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index b6dccda4..df6dd732 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -894,18 +894,6 @@ struct TALER_BlindedPlanchet }; -/** - * Withdraw nonce for CS denominations - */ -struct TALER_RefreshNonceXXXDEADFIXME -{ - /** - * 32 bit nonce to include in withdrawals - */ - struct GNUNET_CRYPTO_CsNonce nonce; -}; - - /** * Pair of Public R values for Cs denominations */ @@ -984,18 +972,6 @@ struct TALER_TrackTransferDetails }; -/** - * @brief Type of CS Values for withdrawal - */ -struct TALER_ExchangeWithdrawCsValues -{ - /** - * (non-blinded) r_pub - */ - struct TALER_DenominationCSPublicRPairP r_pub_pair; -}; - - /** * @brief Type of algorithm specific Values for withdrawal */ @@ -1015,7 +991,7 @@ struct TALER_ExchangeWithdrawValues /** * If we use #TALER_DENOMINATION_CS in @a cipher. */ - struct TALER_ExchangeWithdrawCsValues cs_values; + struct TALER_DenominationCSPublicRPairP cs_values; } details; @@ -2010,6 +1986,7 @@ TALER_CRYPTO_helper_cs_revoke ( * @return R, the value inside the structure will be NULL on failure, * see @a ec for details about the failure */ +// FIXME: swap rval and ec! struct TALER_DenominationCSPublicRPairP TALER_CRYPTO_helper_cs_r_derive (struct TALER_CRYPTO_CsDenominationHelper *dh, const struct TALER_CsPubHashP *h_cs, -- cgit v1.2.3