aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_revocation_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
commit9351b1e9bdf2b067b6db06562c26ba658cff42b8 (patch)
tree68dc4ab447e7e8b6a20a706858cd36238c1c7c5f /src/include/gnunet_revocation_service.h
parent8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff)
downloadgnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz
gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/include/gnunet_revocation_service.h')
-rw-r--r--src/include/gnunet_revocation_service.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_revocation_service.h b/src/include/gnunet_revocation_service.h
index 8809f9ece..82decc30b 100644
--- a/src/include/gnunet_revocation_service.h
+++ b/src/include/gnunet_revocation_service.h
@@ -73,7 +73,7 @@ typedef void (*GNUNET_REVOCATION_Callback) (void *cls,
73 */ 73 */
74struct GNUNET_REVOCATION_Query * 74struct GNUNET_REVOCATION_Query *
75GNUNET_REVOCATION_query (const struct GNUNET_CONFIGURATION_Handle *cfg, 75GNUNET_REVOCATION_query (const struct GNUNET_CONFIGURATION_Handle *cfg,
76 const struct GNUNET_CRYPTO_EccPublicSignKey *key, 76 const struct GNUNET_CRYPTO_EcdsaPublicKey *key,
77 GNUNET_REVOCATION_Callback func, void *func_cls); 77 GNUNET_REVOCATION_Callback func, void *func_cls);
78 78
79 79
@@ -109,8 +109,8 @@ struct GNUNET_REVOCATION_Handle;
109 */ 109 */
110struct GNUNET_REVOCATION_Handle * 110struct GNUNET_REVOCATION_Handle *
111GNUNET_REVOCATION_revoke (const struct GNUNET_CONFIGURATION_Handle *cfg, 111GNUNET_REVOCATION_revoke (const struct GNUNET_CONFIGURATION_Handle *cfg,
112 const struct GNUNET_CRYPTO_EccPublicSignKey *key, 112 const struct GNUNET_CRYPTO_EcdsaPublicKey *key,
113 const struct GNUNET_CRYPTO_EccSignature *sig, 113 const struct GNUNET_CRYPTO_EcdsaSignature *sig,
114 uint64_t pow, 114 uint64_t pow,
115 GNUNET_REVOCATION_Callback func, void *func_cls); 115 GNUNET_REVOCATION_Callback func, void *func_cls);
116 116
@@ -134,7 +134,7 @@ GNUNET_REVOCATION_revoke_cancel (struct GNUNET_REVOCATION_Handle *h);
134 * @return #GNUNET_YES if the @a pow is acceptable, #GNUNET_NO if not 134 * @return #GNUNET_YES if the @a pow is acceptable, #GNUNET_NO if not
135 */ 135 */
136int 136int
137GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EccPublicSignKey *key, 137GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EcdsaPublicKey *key,
138 uint64_t pow, 138 uint64_t pow,
139 unsigned int matching_bits); 139 unsigned int matching_bits);
140 140
@@ -146,8 +146,8 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EccPublicSignKey *key,
146 * @param sig where to write the revocation signature 146 * @param sig where to write the revocation signature
147 */ 147 */
148void 148void
149GNUNET_REVOCATION_sign_revocation (const struct GNUNET_CRYPTO_EccPrivateKey *key, 149GNUNET_REVOCATION_sign_revocation (const struct GNUNET_CRYPTO_EcdsaPrivateKey *key,
150 struct GNUNET_CRYPTO_EccSignature *sig); 150 struct GNUNET_CRYPTO_EcdsaSignature *sig);
151 151
152 152
153#if 0 /* keep Emacsens' auto-indent happy */ 153#if 0 /* keep Emacsens' auto-indent happy */