diff options
-rw-r--r-- | src/secretsharing/secretsharing_api.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/secretsharing/secretsharing_api.c b/src/secretsharing/secretsharing_api.c index 98f800c95..0a916e455 100644 --- a/src/secretsharing/secretsharing_api.c +++ b/src/secretsharing/secretsharing_api.c | |||
@@ -316,19 +316,6 @@ handle_decrypt_done (void *cls, | |||
316 | } | 316 | } |
317 | 317 | ||
318 | 318 | ||
319 | /** | ||
320 | * Publish the given ciphertext for decryption. Once a sufficient (>=k) number of peers has | ||
321 | * published the same value, it will be decrypted. | ||
322 | * | ||
323 | * When the operation is canceled, the decrypt_cb is not called anymore, but the calling | ||
324 | * peer may already have irrevocably contributed its share for the decryption of the value. | ||
325 | * | ||
326 | * @param share our secret share to use for decryption | ||
327 | * @param ciphertext ciphertext to publish in order to decrypt it (if enough peers agree) | ||
328 | * @param decrypt_cb callback called once the decryption succeeded | ||
329 | * @param decrypt_cb_cls closure for @a decrypt_cb | ||
330 | * @return handle to cancel the operation | ||
331 | */ | ||
332 | struct GNUNET_SECRETSHARING_DecryptionHandle * | 319 | struct GNUNET_SECRETSHARING_DecryptionHandle * |
333 | GNUNET_SECRETSHARING_decrypt (const struct GNUNET_CONFIGURATION_Handle *cfg, | 320 | GNUNET_SECRETSHARING_decrypt (const struct GNUNET_CONFIGURATION_Handle *cfg, |
334 | struct GNUNET_SECRETSHARING_Share *share, | 321 | struct GNUNET_SECRETSHARING_Share *share, |