[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -indent
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -indent |
Date: |
Wed, 09 Feb 2022 10:11:42 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 77eaa685 -indent
77eaa685 is described below
commit 77eaa685b9dbc5d643f2f01a483ef6c212592801
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Feb 9 10:11:40 2022 +0100
-indent
---
src/util/denom.c | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/src/util/denom.c b/src/util/denom.c
index 0c1f9922..3e841ce3 100644
--- a/src/util/denom.c
+++ b/src/util/denom.c
@@ -198,8 +198,9 @@ TALER_denom_sig_unblind (
case TALER_DENOMINATION_CS:
{
struct GNUNET_CRYPTO_CsBlindingSecret bs[2];
- GNUNET_CRYPTO_cs_blinding_secrets_derive (&bks->nonce, bs);
+ GNUNET_CRYPTO_cs_blinding_secrets_derive (&bks->nonce,
+ bs);
GNUNET_CRYPTO_cs_unblind
(&bdenom_sig->details.blinded_cs_answer.s_scalar,
&bs[bdenom_sig->details.blinded_cs_answer.b],
&denom_sig->details.cs_signature.s_scalar);
@@ -332,15 +333,13 @@ TALER_denom_blind (
{
case TALER_DENOMINATION_RSA:
blinded_planchet->cipher = dk->cipher;
-
if (GNUNET_YES !=
- GNUNET_CRYPTO_rsa_blind (&c_hash->hash,
- &coin_bks->rsa_bks,
- dk->details.rsa_public_key,
-
&blinded_planchet->details.rsa_blinded_planchet
- .blinded_msg,
-
&blinded_planchet->details.rsa_blinded_planchet
- .blinded_msg_size))
+ GNUNET_CRYPTO_rsa_blind (
+ &c_hash->hash,
+ &coin_bks->rsa_bks,
+ dk->details.rsa_public_key,
+ &blinded_planchet->details.rsa_blinded_planchet.blinded_msg,
+ &blinded_planchet->details.rsa_blinded_planchet.blinded_msg_size))
{
GNUNET_break (0);
return GNUNET_SYSERR;
@@ -348,10 +347,10 @@ TALER_denom_blind (
return GNUNET_OK;
case TALER_DENOMINATION_CS:
{
- blinded_planchet->cipher = dk->cipher;
struct TALER_DenominationCSPublicRPairP blinded_r_pub;
struct GNUNET_CRYPTO_CsBlindingSecret bs[2];
+ blinded_planchet->cipher = dk->cipher;
GNUNET_CRYPTO_cs_blinding_secrets_derive (&coin_bks->nonce,
bs);
GNUNET_CRYPTO_cs_calc_blinded_c (
@@ -360,8 +359,7 @@ TALER_denom_blind (
&dk->details.cs_public_key,
&c_hash->hash,
sizeof(struct GNUNET_HashCode),
- blinded_planchet->details.
- cs_blinded_planchet.c,
+ blinded_planchet->details.cs_blinded_planchet.c,
blinded_r_pub.r_pub);
return GNUNET_OK;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -indent,
gnunet <=