From 9c730063ee7f622a4908f7d78f618a3e24040fb2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 28 Oct 2023 01:50:26 +0200 Subject: new blind signature logic bug fixes --- src/include/taler_crypto_lib.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 82d737004..7ea44189c 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -1351,6 +1351,19 @@ const struct TALER_ExchangeWithdrawValues * TALER_denom_ewv_rsa_singleton (void); +/** + * Make a (deep) copy of the given @a bi_src to + * @a bi_dst. + * + * @param[out] bi_dst target to copy to + * @param bi_src blinding input values to copy + */ +void +TALER_denom_ewv_deep_copy ( + struct TALER_ExchangeWithdrawValues *bi_dst, + const struct TALER_ExchangeWithdrawValues *bi_src); + + /** * Create private key for a Taler coin. * @param ps planchet secret to derive coin priv key @@ -1420,6 +1433,15 @@ void TALER_denom_pub_free (struct TALER_DenominationPublicKey *denom_pub); +/** + * Free internals of @a ewv, but not @a ewv itself. + * + * @param[in] ewv input values to free + */ +void +TALER_denom_ewv_free (struct TALER_ExchangeWithdrawValues *ewv); + + /** * Free internals of @a denom_priv, but not @a denom_priv itself. * -- cgit v1.2.3