From 62d8368b1b89d8b2259dee4abd1b1970ac385d4a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 6 Feb 2022 19:53:23 +0100 Subject: -fix more FTBFS issues --- src/include/taler_crypto_lib.h | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index e9d7feb23..8be76aef8 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -1021,10 +1021,10 @@ TALER_planchet_setup_coin_priv ( /** - * @brief Method to derive withdraw nonce + * @brief Method to derive withdraw /csr nonce * - * @param coin_priv private key of the coin - * @param nonce withdraw nonce included in the request to generate R_0 and R_1 + * @param ps planchet secrets of the coin + * @param[out] nonce withdraw nonce included in the request to generate R_0 and R_1 */ void TALER_cs_withdraw_nonce_derive ( @@ -1032,6 +1032,21 @@ TALER_cs_withdraw_nonce_derive ( struct TALER_CsNonce *nonce); +/** + * @brief Method to derive /csr nonce + * to be used during refresh/melt operation. + * + * @param coin_priv private key of the coin + * @param idx index of the fresh coin + * @param[out] nonce set to nonce included in the request to generate R_0 and R_1 + */ +void +TALER_cs_refresh_nonce_derive ( + const struct TALER_PlanchetSecretsP *ps, + uint32_t idx, + struct TALER_CsNonce *nonce); + + /** * Initialize denomination public-private key pair. * -- cgit v1.2.3