diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-05-24 19:57:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-05-24 19:57:15 +0000 |
commit | 31536a9bb75502f4c090472f188e1eec138515f7 (patch) | |
tree | 2c75617baa1ca040ddfb6a59d90831624b3512b1 /src/include/gnunet_crypto_lib.h | |
parent | 152cd13768915399f9e5137d78a2f75296a1b93e (diff) | |
download | gnunet-31536a9bb75502f4c090472f188e1eec138515f7.tar.gz gnunet-31536a9bb75502f4c090472f188e1eec138515f7.zip |
cleaning up scalar product client API
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 18e49ee93..0d18e1185 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -374,7 +374,7 @@ struct GNUNET_CRYPTO_PaillierCiphertext | |||
374 | * guaranteed minimum number of homomorphic operations with this ciphertext | 374 | * guaranteed minimum number of homomorphic operations with this ciphertext |
375 | */ | 375 | */ |
376 | int32_t remaining_ops GNUNET_PACKED; | 376 | int32_t remaining_ops GNUNET_PACKED; |
377 | 377 | ||
378 | /** | 378 | /** |
379 | * The bits of the ciphertext. | 379 | * The bits of the ciphertext. |
380 | */ | 380 | */ |
@@ -1334,7 +1334,7 @@ GNUNET_CRYPTO_paillier_create (struct GNUNET_CRYPTO_PaillierPublicKey *public_ke | |||
1334 | * @param m Plaintext to encrypt. | 1334 | * @param m Plaintext to encrypt. |
1335 | * @param desired_ops How many homomorphic ops the caller intends to use | 1335 | * @param desired_ops How many homomorphic ops the caller intends to use |
1336 | * @param[out] ciphertext Encrytion of @a plaintext with @a public_key. | 1336 | * @param[out] ciphertext Encrytion of @a plaintext with @a public_key. |
1337 | * @return guaranteed number of supported homomorphic operations >= 1, | 1337 | * @return guaranteed number of supported homomorphic operations >= 1, |
1338 | * or desired_ops, in case that is lower, | 1338 | * or desired_ops, in case that is lower, |
1339 | * or -1 if less than one homomorphic operation is possible | 1339 | * or -1 if less than one homomorphic operation is possible |
1340 | */ | 1340 | */ |
@@ -1381,7 +1381,7 @@ GNUNET_CRYPTO_paillier_hom_add (const struct GNUNET_CRYPTO_PaillierPublicKey *pu | |||
1381 | 1381 | ||
1382 | 1382 | ||
1383 | /** | 1383 | /** |
1384 | * Get the number of remaining supported homomorphic operations. | 1384 | * Get the number of remaining supported homomorphic operations. |
1385 | * | 1385 | * |
1386 | * @param c Paillier cipher text. | 1386 | * @param c Paillier cipher text. |
1387 | * @return the number of remaining homomorphic operations | 1387 | * @return the number of remaining homomorphic operations |