summaryrefslogtreecommitdiff
path: root/src/util/test_crypto.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-09 10:38:02 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-09 10:38:02 +0100
commitd559610da76f9bf08983fd576fb17fdfa2cc6252 (patch)
treec82ad6d1663bccbe93a8834a6e632e47c9fc731a /src/util/test_crypto.c
parent77eaa685b9dbc5d643f2f01a483ef6c212592801 (diff)
downloadexchange-d559610da76f9bf08983fd576fb17fdfa2cc6252.tar.gz
exchange-d559610da76f9bf08983fd576fb17fdfa2cc6252.tar.bz2
exchange-d559610da76f9bf08983fd576fb17fdfa2cc6252.zip
-poison
Diffstat (limited to 'src/util/test_crypto.c')
-rw-r--r--src/util/test_crypto.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c
index 89955ac7e..0681fc865 100644
--- a/src/util/test_crypto.c
+++ b/src/util/test_crypto.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- (C) 2015, 2020, 2021 Taler Systems SA
+ (C) 2015, 2020-2022 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -198,14 +198,11 @@ test_planchets_cs (void)
GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_STRONG,
&ps,
sizeof (ps));
-
GNUNET_assert (GNUNET_OK ==
TALER_denom_priv_create (&dk_priv,
&dk_pub,
TALER_DENOMINATION_CS));
-
alg_values.cipher = TALER_DENOMINATION_CS;
-
TALER_cs_withdraw_nonce_derive (
&ps,
&pd.blinded_planchet.details.cs_blinded_planchet.nonce);
@@ -214,14 +211,12 @@ test_planchets_cs (void)
&pd.blinded_planchet.details.cs_blinded_planchet.nonce,
&dk_priv,
&alg_values.details.cs_values.r_pub_pair));
-
TALER_planchet_setup_coin_priv (&ps,
&alg_values,
&coin_priv);
TALER_planchet_blinding_secret_create (&ps,
&alg_values,
&bks);
-
GNUNET_assert (GNUNET_OK ==
TALER_planchet_prepare (&dk_pub,
&alg_values,
@@ -229,7 +224,6 @@ test_planchets_cs (void)
&coin_priv,
&c_hash,
&pd));
-
GNUNET_assert (GNUNET_OK ==
TALER_denom_sign_blinded (&blind_sig,
&dk_priv,
@@ -243,7 +237,6 @@ test_planchets_cs (void)
&c_hash,
&alg_values,
&coin));
-
TALER_blinded_denom_sig_free (&blind_sig);
TALER_denom_sig_free (&coin.sig);
TALER_denom_priv_free (&dk_priv);