summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-06 19:53:23 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-06 19:53:23 +0100
commit62d8368b1b89d8b2259dee4abd1b1970ac385d4a (patch)
treeb6dad774cd5884cfc3ad89bc965989a43ef7e842 /src/include
parent66abbcac3f9431862ec68cf8f85781b51f2633be (diff)
downloadexchange-62d8368b1b89d8b2259dee4abd1b1970ac385d4a.tar.gz
exchange-62d8368b1b89d8b2259dee4abd1b1970ac385d4a.tar.bz2
exchange-62d8368b1b89d8b2259dee4abd1b1970ac385d4a.zip
-fix more FTBFS issues
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_crypto_lib.h21
1 files changed, 18 insertions, 3 deletions
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 (
@@ -1033,6 +1033,21 @@ TALER_cs_withdraw_nonce_derive (
/**
+ * @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.
*
* For #TALER_DENOMINATION_RSA, an additional "unsigned int"