aboutsummaryrefslogtreecommitdiff
path: root/src/util/denom.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-11-16 14:43:54 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2021-11-16 14:43:54 +0100
commit591cefd3159a2982703a81b637fd7887ecef9a7a (patch)
treed7135deb6111dbe11d10463061942470097e025b /src/util/denom.c
parent930e31e08fcdf28125b7c3fd6b76868d622d3a92 (diff)
downloadexchange-591cefd3159a2982703a81b637fd7887ecef9a7a.tar.xz
[age restriction] progress 3/n
- remove redundant struct members for age commitment hash - undo pre-mature implementation in taler-exchange-secmod-rsa.c - carry through age restriction parameter for TALER_denom_blind
Diffstat (limited to 'src/util/denom.c')
-rw-r--r--src/util/denom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/denom.c b/src/util/denom.c
index a5305343b..bb1351406 100644
--- a/src/util/denom.c
+++ b/src/util/denom.c
@@ -219,6 +219,7 @@ TALER_denom_priv_to_pub (const struct TALER_DenominationPrivateKey *denom_priv,
enum GNUNET_GenericReturnValue
TALER_denom_blind (const struct TALER_DenominationPublicKey *dk,
const union TALER_DenominationBlindingKeyP *coin_bks,
+ const struct TALER_AgeHash *age_commitment_hash,
const struct TALER_CoinSpendPublicKeyP *coin_pub,
struct TALER_CoinPubHash *c_hash,
void **coin_ev,
@@ -228,6 +229,7 @@ TALER_denom_blind (const struct TALER_DenominationPublicKey *dk,
{
case TALER_DENOMINATION_RSA:
TALER_coin_pub_hash (coin_pub,
+ age_commitment_hash,
c_hash);
if (GNUNET_YES !=
GNUNET_CRYPTO_rsa_blind (&c_hash->hash,