commit ed5431fba6e1b0847bbec9097ed62abf8dbecff3 parent b71c5cc3ddca8f296b06b8e992b5079d61a45b4f Author: Özgür Kesim <oec-taler@kesim.org> Date: Mon, 3 Jul 2023 14:28:38 +0200 added TALER_AgeWithdrawConfirmationPS Diffstat:
| M | core/api-common.rst | | | 20 | +++++++++++++++----- |
| M | core/api-exchange.rst | | | 2 | +- |
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/core/api-common.rst b/core/api-common.rst @@ -1010,11 +1010,21 @@ within the * This is the running SHA512-hash over n*kappa * `struct TALER_BlindedCoinHash` values */ - struct GNUNET_HashCode blinded_coin_candidates; - /* This is the running SHA512-hash over n - * `struct TALER_DenominationHash` values */ - struct GNUNET_HashCode h_denoms_h; - uint8 max_age; + struct GNUNET_HashCode h_commitment; + struct TALER_AgeMask mask; + uint8_t max_age_group; + }; + +.. _TALER_AgeWithdrawConfirmationPS: +.. sourcecode:: c + + struct TALER_AgeWithdrawConfirmationPS { + /** + * purpose.purpose = TALER_SIGNATURE_EXCHANGE_CONFIRM_AGE_WITHDRAW + */ + struct GNUNET_CRYPTO_EccSignaturePurpose purpose; + struct GNUNET_HashCode h_commitment; + uint32_t noreveal_index; }; diff --git a/core/api-exchange.rst b/core/api-exchange.rst @@ -2467,7 +2467,7 @@ If so, the exchange will blindly sign ``n`` undisclosed coins from the request. // have to disclose noreveal_index: Integer; - // Signature of `TALER_AgeWithdrawRequestPS` whereby + // Signature of `TALER_AgeWithdrawConfirmationPS` whereby // the exchange confirms the ``noreveal_index``. exchange_sig: EddsaSignature;