aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-12 01:00:31 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-12 01:00:31 +0100
commitc93150b8cd8122821216c8ca4c92eaff73d3ae47 (patch)
tree9352b5e98f4423734fa656c2084307eeeb19d23f /src/include
parent94a5359494bcc24916c9f7f8323ace4643bc0065 (diff)
-work on more FIXMEs
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_crypto_lib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 6f64de2ea..3a4278298 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -2331,6 +2331,23 @@ TALER_wallet_withdraw_verify (
/**
+ * Verify exchange melt confirmation.
+ *
+ * @param rc refresh session this is about
+ * @param noreveal_index gamma value chosen by the exchange
+ * @param exchange_pub public signing key used
+ * @param exchange_sig signature to check
+ * @return #GNUNET_OK if the signature is valid
+ */
+enum GNUNET_GenericReturnValue
+TALER_exchange_melt_confirmation_verify (
+ const struct TALER_RefreshCommitmentP *rc,
+ uint32_t noreveal_index,
+ const struct TALER_ExchangePublicKeyP *exchange_pub,
+ const struct TALER_ExchangeSignatureP *exchange_sig);
+
+
+/**
* Verify recoup signature.
*
* @param h_denom_pub hash of the denomiantion public key of the coin