From 544ba42f445cbff2f544d7e1c83aaffcfa75af3a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 21 Feb 2022 00:23:23 +0100 Subject: -big renaming of structs for consistent naming with P suffix --- src/include/taler_signatures.h | 72 +++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'src/include/taler_signatures.h') diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 8a799eaea..72150ca65 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -345,7 +345,7 @@ struct TALER_DenominationKeyAnnouncementPS /** * Hash of the denomination public key. */ - struct TALER_DenominationHash h_denom; + struct TALER_DenominationHashP h_denom; /** * Hash of the section name in the configuration of this denomination. @@ -412,7 +412,7 @@ struct TALER_LinkDataPS /** * Hash of the denomination public key of the new coin. */ - struct TALER_DenominationHash h_denom_pub; + struct TALER_DenominationHashP h_denom_pub; /** * Transfer public key (for which the private key was not revealed) @@ -427,7 +427,7 @@ struct TALER_LinkDataPS /** * Hash of the blinded new coin. */ - struct TALER_BlindedCoinHash coin_envelope_hash; + struct TALER_BlindedCoinHashP coin_envelope_hash; }; @@ -456,12 +456,12 @@ struct TALER_WithdrawRequestPS /** * Hash of the denomination public key for the coin that is withdrawn. */ - struct TALER_DenominationHash h_denomination_pub GNUNET_PACKED; + struct TALER_DenominationHashP h_denomination_pub GNUNET_PACKED; /** * Hash of the (blinded) message to be signed by the Exchange. */ - struct TALER_BlindedCoinHash h_coin_envelope GNUNET_PACKED; + struct TALER_BlindedCoinHashP h_coin_envelope GNUNET_PACKED; }; @@ -480,7 +480,7 @@ struct TALER_DepositRequestPS /** * Hash over the contract for which this deposit is made. */ - struct TALER_PrivateContractHash h_contract_terms GNUNET_PACKED; + struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED; /** * Hash over the age commitment that went into the coin. Maybe all zero, if @@ -491,17 +491,17 @@ struct TALER_DepositRequestPS /** * Hash over extension attributes shared with the exchange. */ - struct TALER_ExtensionContractHash h_extensions GNUNET_PACKED; + struct TALER_ExtensionContractHashP h_extensions GNUNET_PACKED; /** * Hash over the wiring information of the merchant. */ - struct TALER_MerchantWireHash h_wire GNUNET_PACKED; + struct TALER_MerchantWireHashP h_wire GNUNET_PACKED; /** * Hash over the denomination public key used to sign the coin. */ - struct TALER_DenominationHash h_denom_pub GNUNET_PACKED; + struct TALER_DenominationHashP h_denom_pub GNUNET_PACKED; /** * Time when this request was generated. Used, for example, to @@ -567,18 +567,18 @@ struct TALER_DepositConfirmationPS /** * Hash over the contract for which this deposit is made. */ - struct TALER_PrivateContractHash h_contract_terms GNUNET_PACKED; + struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED; /** * Hash over the wiring information of the merchant. */ - struct TALER_MerchantWireHash h_wire GNUNET_PACKED; + struct TALER_MerchantWireHashP h_wire GNUNET_PACKED; /** * Hash over the extension options of the deposit, 0 if there * were not extension options. */ - struct TALER_ExtensionContractHash h_extensions GNUNET_PACKED; + struct TALER_ExtensionContractHashP h_extensions GNUNET_PACKED; /** * Time when this confirmation was generated / when the exchange received @@ -636,7 +636,7 @@ struct TALER_RefundRequestPS * Hash over the proposal data to identify the contract * which is being refunded. */ - struct TALER_PrivateContractHash h_contract_terms GNUNET_PACKED; + struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED; /** * The coin's public key. This is the value that must have been @@ -672,7 +672,7 @@ struct TALER_RefundConfirmationPS * Hash over the proposal data to identify the contract * which is being refunded. */ - struct TALER_PrivateContractHash h_contract_terms GNUNET_PACKED; + struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED; /** * The coin's public key. This is the value that must have been @@ -719,7 +719,7 @@ struct TALER_RefreshMeltCoinAffirmationPS /** * Hash over the denomination public key used to sign the coin. */ - struct TALER_DenominationHash h_denom_pub GNUNET_PACKED; + struct TALER_DenominationHashP h_denom_pub GNUNET_PACKED; /** * If age commitment was provided during the withdrawal of the coin, this is @@ -866,7 +866,7 @@ struct TALER_ExchangeAccountSetupSuccessPS * Hash over the payto for which the signature was * made. */ - struct TALER_PaytoHash h_payto; + struct TALER_PaytoHashP h_payto; /** * When was the signature made. @@ -952,7 +952,7 @@ struct TALER_MasterAddWirePS /** * Hash over the exchange's payto URI. */ - struct TALER_PaytoHash h_payto GNUNET_PACKED; + struct TALER_PaytoHashP h_payto GNUNET_PACKED; }; @@ -977,7 +977,7 @@ struct TALER_MasterDelWirePS /** * Hash over the exchange's payto URI. */ - struct TALER_PaytoHash h_payto GNUNET_PACKED; + struct TALER_PaytoHashP h_payto GNUNET_PACKED; }; @@ -997,7 +997,7 @@ struct TALER_MasterExtensionConfigurationPS /** * Hash of the JSON object that represents the configuration of an extension. */ - struct TALER_ExtensionConfigHash h_config GNUNET_PACKED; + struct TALER_ExtensionConfigHashP h_config GNUNET_PACKED; }; @@ -1073,7 +1073,7 @@ struct TALER_DenominationKeyValidityPS * Hash code of the denomination public key. (Used to avoid having * the variable-size RSA key in this struct.) */ - struct TALER_DenominationHash denom_hash GNUNET_PACKED; + struct TALER_DenominationHashP denom_hash GNUNET_PACKED; }; @@ -1156,7 +1156,7 @@ struct TALER_ExchangeKeyValidityPS * Hash code of the denomination public key. (Used to avoid having * the variable-size RSA key in this struct.) */ - struct TALER_DenominationHash denom_hash GNUNET_PACKED; + struct TALER_DenominationHashP denom_hash GNUNET_PACKED; }; @@ -1176,7 +1176,7 @@ struct TALER_MasterWireDetailsPS /** * Hash over the account holder's payto:// URL. */ - struct TALER_PaytoHash h_wire_details GNUNET_PACKED; + struct TALER_PaytoHashP h_wire_details GNUNET_PACKED; }; @@ -1197,7 +1197,7 @@ struct TALER_MerchantWireDetailsPS * Salted hash over the account holder's payto:// URL and * the salt, as done by #TALER_merchant_wire_signature_hash(). */ - struct TALER_MerchantWireHash h_wire_details GNUNET_PACKED; + struct TALER_MerchantWireHashP h_wire_details GNUNET_PACKED; }; @@ -1257,7 +1257,7 @@ struct TALER_MasterDenominationKeyRevocationPS /** * Hash of the denomination key. */ - struct TALER_DenominationHash h_denom_pub; + struct TALER_DenominationHashP h_denom_pub; }; @@ -1294,12 +1294,12 @@ struct TALER_DepositTrackPS /** * Hash over the proposal data of the contract for which this deposit is made. */ - struct TALER_PrivateContractHash h_contract_terms GNUNET_PACKED; + struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED; /** * Hash over the wiring information of the merchant. */ - struct TALER_MerchantWireHash h_wire GNUNET_PACKED; + struct TALER_MerchantWireHashP h_wire GNUNET_PACKED; /** * The Merchant's public key. The deposit inquiry request is to be @@ -1326,7 +1326,7 @@ struct TALER_WireDepositDetailP /** * Hash of the contract */ - struct TALER_PrivateContractHash h_contract_terms; + struct TALER_PrivateContractHashP h_contract_terms; /** * Time when the wire transfer was performed by the exchange. @@ -1381,7 +1381,7 @@ struct TALER_WireDepositDataPS /** * Hash of bank account of the merchant. */ - struct TALER_PaytoHash h_payto; + struct TALER_PaytoHashP h_payto; /** * Hash of the individual deposits that were aggregated, @@ -1406,7 +1406,7 @@ struct TALER_ProposalDataPS * Hash of the JSON contract in UTF-8 including 0-termination, * using JSON_COMPACT | JSON_SORT_KEYS */ - struct TALER_PrivateContractHash hash; + struct TALER_PrivateContractHashP hash; }; /** @@ -1424,7 +1424,7 @@ struct TALER_PaymentResponsePS /** * Hash of the proposal data associated with this confirmation */ - struct TALER_PrivateContractHash h_contract_terms; + struct TALER_PrivateContractHashP h_contract_terms; }; @@ -1443,12 +1443,12 @@ struct TALER_ConfirmWirePS /** * Hash over the wiring information of the merchant. */ - struct TALER_MerchantWireHash h_wire GNUNET_PACKED; + struct TALER_MerchantWireHashP h_wire GNUNET_PACKED; /** * Hash over the contract for which this deposit is made. */ - struct TALER_PrivateContractHash h_contract_terms GNUNET_PACKED; + struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED; /** * Raw value (binary encoding) of the wire transfer subject. @@ -1493,7 +1493,7 @@ struct TALER_RecoupRequestPS /** * Hash of the (revoked) denomination public key of the coin. */ - struct TALER_DenominationHash h_denom_pub; + struct TALER_DenominationHashP h_denom_pub; /** * Blinding factor that was used to withdraw the coin. @@ -1600,7 +1600,7 @@ struct TALER_DenominationUnknownAffirmationPS /** * Hash of the public denomination key we do not know. */ - struct TALER_DenominationHash h_denom_pub; + struct TALER_DenominationHashP h_denom_pub; }; @@ -1630,7 +1630,7 @@ struct TALER_DenominationExpiredAffirmationPS /** * Hash of the public denomination key we do not know. */ - struct TALER_DenominationHash h_denom_pub; + struct TALER_DenominationHashP h_denom_pub; }; @@ -1670,7 +1670,7 @@ struct TALER_ReserveCloseConfirmationPS /** * Hash of the receiver's bank account. */ - struct TALER_PaytoHash h_payto; + struct TALER_PaytoHashP h_payto; /** * Wire transfer subject. -- cgit v1.2.3