diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/util/crypto_paillier.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/util/crypto_paillier.c')
-rw-r--r-- | src/util/crypto_paillier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_paillier.c b/src/util/crypto_paillier.c index 75d607706..0a08509ba 100644 --- a/src/util/crypto_paillier.c +++ b/src/util/crypto_paillier.c | |||
@@ -246,8 +246,7 @@ GNUNET_CRYPTO_paillier_encrypt (const struct | |||
246 | number has the same length (or is smaller), by counting the | 246 | number has the same length (or is smaller), by counting the |
247 | number of possible operations. We essentially divide max_num by | 247 | number of possible operations. We essentially divide max_num by |
248 | 2 until the result is no longer larger than 'm', incrementing the | 248 | 2 until the result is no longer larger than 'm', incrementing the |
249 | maximum number of operations in each round, starting at -2 */ | 249 | maximum number of operations in each round, starting at -2 */for (possible_opts = -2; gcry_mpi_cmp (max_num, m) > 0; possible_opts++) |
250 | for (possible_opts = -2; gcry_mpi_cmp (max_num, m) > 0; possible_opts++) | ||
251 | gcry_mpi_div (max_num, | 250 | gcry_mpi_div (max_num, |
252 | NULL, | 251 | NULL, |
253 | max_num, | 252 | max_num, |
@@ -481,4 +480,5 @@ GNUNET_CRYPTO_paillier_hom_get_remaining (const struct | |||
481 | return ntohl (c->remaining_ops); | 480 | return ntohl (c->remaining_ops); |
482 | } | 481 | } |
483 | 482 | ||
483 | |||
484 | /* end of crypto_paillier.c */ | 484 | /* end of crypto_paillier.c */ |