[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 16/31: remove sign API call
From: |
gnunet |
Subject: |
[gnunet] 16/31: remove sign API call |
Date: |
Wed, 22 Apr 2020 21:53:07 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 4a700470f454268928468ba49539524c3b02438a
Author: Martin Schanzenbach <address@hidden>
AuthorDate: Mon Apr 20 16:58:17 2020 +0200
remove sign API call
---
src/include/gnunet_revocation_service.h | 22 +---------------------
src/revocation/revocation_api.c | 23 -----------------------
2 files changed, 1 insertion(+), 44 deletions(-)
diff --git a/src/include/gnunet_revocation_service.h
b/src/include/gnunet_revocation_service.h
index b2f81b67a..b38fbac3d 100644
--- a/src/include/gnunet_revocation_service.h
+++ b/src/include/gnunet_revocation_service.h
@@ -149,12 +149,8 @@ struct GNUNET_REVOCATION_Handle;
* Perform key revocation.
*
* @param cfg the configuration to use
- * @param key public key of the key to revoke
- * @param sig signature to use on the revocation (should have been
- * created using #GNUNET_REVOCATION_sign_revocation).
- * @param ts revocation timestamp
* @param pow proof of work to use (should have been created by
- * iteratively calling #GNUNET_REVOCATION_check_pow)
+ * iteratively calling #GNUNET_REVOCATION_pow_round)
* @param func funtion to call with the result of the check
* (called with `is_valid` being #GNUNET_NO if
* the revocation worked).
@@ -254,22 +250,6 @@ void
GNUNET_REVOCATION_pow_cleanup (struct
GNUNET_REVOCATION_PowCalculationHandle *pc);
-
-
-
-/**
- * Create a revocation signature.
- *
- * @param key private key of the key to revoke
- * @param sig where to write the revocation signature
- */
-void
-GNUNET_REVOCATION_sign_revocation (struct
- GNUNET_REVOCATION_Pow *pow,
- const struct
- GNUNET_CRYPTO_EcdsaPrivateKey *key);
-
-
#if 0 /* keep Emacsens' auto-indent happy */
{
#endif
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index fba10a4d5..1aff7c2f6 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -608,27 +608,4 @@ GNUNET_REVOCATION_pow_cleanup (struct
GNUNET_free (pc);
}
-
-/**
- * Create a revocation signature.
- *
- * @param key private key of the key to revoke
- * @param sig where to write the revocation signature
- */
-void
-GNUNET_REVOCATION_sign_revocation (struct GNUNET_REVOCATION_Pow *pow,
- const struct
- GNUNET_CRYPTO_EcdsaPrivateKey *key)
-{
- pow->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_REVOCATION);
- pow->purpose.size = htonl (sizeof(struct GNUNET_CRYPTO_EccSignaturePurpose)
- + sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey));
- GNUNET_CRYPTO_ecdsa_key_get_public (key, &pow->key);
- GNUNET_assert (GNUNET_OK ==
- GNUNET_CRYPTO_ecdsa_sign_ (key,
- &pow->purpose,
- &pow->signature));
-}
-
-
/* end of revocation_api.c */
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnunet] 12/31: those are actually debug messages, (continued)
- [gnunet] 12/31: those are actually debug messages, gnunet, 2020/04/22
- [gnunet] 13/31: more comments, allow to pick up pow later, gnunet, 2020/04/22
- [gnunet] 18/31: fix, gnunet, 2020/04/22
- [gnunet] 10/31: some comments, gnunet, 2020/04/22
- [gnunet] 25/31: packed makes no sense there, gnunet, 2020/04/22
- [gnunet] 19/31: check signature in check_pow, gnunet, 2020/04/22
- [gnunet] 14/31: evaluate epochs, gnunet, 2020/04/22
- [gnunet] 24/31: remove pow_get, gnunet, 2020/04/22
- [gnunet] 21/31: predate validity time on creation; extent ttl on validation, gnunet, 2020/04/22
- [gnunet] 28/31: purge scrypt; add argon2, gnunet, 2020/04/22
- [gnunet] 16/31: remove sign API call,
gnunet <=
- [gnunet] 17/31: update API comments, gnunet, 2020/04/22
- [gnunet] 30/31: add epochs CLI parameter, gnunet, 2020/04/22
- [gnunet] 29/31: remova binary file commited by accident, gnunet, 2020/04/22
- [gnunet] 08/31: towards less variance, gnunet, 2020/04/22
- [gnunet] 22/31: new pass API, gnunet, 2020/04/22
- [gnunet] 27/31: update API for cleanup of handle, gnunet, 2020/04/22
- [gnunet] 26/31: update revocation config, gnunet, 2020/04/22
- [gnunet] 23/31: rename, fix, gnunet, 2020/04/22
- [gnunet] 20/31: include buffer of 10& of epoch, gnunet, 2020/04/22
- [gnunet] 31/31: Merge branch 'schanzen/argon_pow', gnunet, 2020/04/22