aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorGian Demarmels <gian@demarmels.org>2022-01-09 16:49:27 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:36:08 +0100
commit9c2aefaa515ce8d493bfe4de4eab9edc09d5447e (patch)
treea12da09f8fedb383be5baa9bc1e8f597e4071448 /src/include/taler_crypto_lib.h
parent9074e66ebc8b73ecc98500f32af52088fd7f0722 (diff)
removed varargs
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index c0e96427e..133fc1868 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -941,19 +941,6 @@ TALER_cs_withdraw_nonce_derive (const struct
TALER_CoinSpendPrivateKeyP *coin_priv,
struct TALER_WithdrawNonce *nonce);
-/**
- * Create a blinding secret @a bs for @a cipher.
- *
- * @param[out] bs blinding secret to initialize
- * @param cipher algorithm to use (CS or RSA)
- * @param ... If CS signature, R_0 and R_1 (TALER_DenominationCsPublicR)
- * and the coins private key (TALER_CoinSpendPrivateKeyP) is needed
- */
-void
-TALER_blinding_secret_create (union TALER_DenominationBlindingKeyP *bs,
- enum TALER_DenominationCipher cipher,
- ...);
-
/**
* Initialize denomination public-private key pair.
@@ -1436,6 +1423,14 @@ void
TALER_planchet_setup_random (struct TALER_PlanchetSecretsP *ps,
enum TALER_DenominationCipher cipher);
+/**
+ * Create a blinding secret @a bs for @a cipher.
+ *
+ * @param[out] ps planchet with blinding secret to initialize
+ */
+void
+TALER_planchet_blinding_secret_create (struct TALER_PlanchetSecretsP *ps,
+ enum TALER_DenominationCipher cipher);
/**
* Prepare a planchet for tipping. Creates and blinds a coin.