aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-07 13:41:55 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-07 13:41:55 +0100
commitb84fb618c3c0f7492f609949f5202c75882d7b68 (patch)
treec36bad8f6b304f27582e0006f7a4a123c41f653b /src/include/taler_crypto_lib.h
parent169d6843420df99dfcfb8089d03fc5c9bf68e8ef (diff)
fix refreshes_reveal FTBFS
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 189d4b063..dbf390ea9 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -1590,6 +1590,18 @@ TALER_planchet_to_coin (
/**
+ * Add the hash of the @a bp (in some canonicalized form)
+ * to the @a hash_context.
+ *
+ * @param bp blinded planchet to hash
+ * @param[in,out] hash_context hash context to use
+ */
+void
+TALER_blinded_planchet_hash (const struct TALER_BlindedPlanchet *bp,
+ struct GNUNET_HashContext *hash_context);
+
+
+/**
* Given the coin and the transfer private keys, compute the
* transfer secret. (Technically, we only need one of the two
* private keys, but the caller currently trivially only has
@@ -1649,14 +1661,9 @@ struct TALER_RefreshCoinData
const struct TALER_DenominationPublicKey *dk;
/**
- * The envelope with the blinded coin.
+ * The blinded planchet (details depend on cipher).
*/
- void *coin_ev;
-
- /**
- * Number of bytes in @a coin_ev
- */
- size_t coin_ev_size;
+ struct TALER_BlindedPlanchet blinded_planchet;
};