aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/revocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/revocation.h')
-rw-r--r--src/revocation/revocation.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/revocation/revocation.h b/src/revocation/revocation.h
index aa15fd44a..c6c5d5e76 100644
--- a/src/revocation/revocation.h
+++ b/src/revocation/revocation.h
@@ -48,7 +48,7 @@ struct GNUNET_REVOCATION_QueryMessage
48 /** 48 /**
49 * Key to check. 49 * Key to check.
50 */ 50 */
51 struct GNUNET_CRYPTO_EccPublicSignKey key GNUNET_PACKED; 51 struct GNUNET_CRYPTO_EccPublicSignKey key;
52 52
53}; 53};
54 54
@@ -91,25 +91,25 @@ struct GNUNET_REVOCATION_RevokeMessage
91 uint32_t reserved GNUNET_PACKED; 91 uint32_t reserved GNUNET_PACKED;
92 92
93 /** 93 /**
94 * Signature confirming revocation. 94 * Number that causes a hash collision with the @e public_key.
95 */ 95 */
96 struct GNUNET_CRYPTO_EccSignature signature GNUNET_PACKED; 96 uint64_t proof_of_work GNUNET_PACKED;
97 97
98 /** 98 /**
99 * Must have purpose #GNUNET_SIGNATURE_PURPOSE_REVOCATION, 99 * Signature confirming revocation.
100 * size expands over the key and the proof of work.
101 */ 100 */
102 struct GNUNET_CRYPTO_EccSignaturePurpose purpose GNUNET_PACKED; 101 struct GNUNET_CRYPTO_EccSignature signature;
103 102
104 /** 103 /**
105 * Key to revoke. 104 * Must have purpose #GNUNET_SIGNATURE_PURPOSE_REVOCATION,
105 * size expands over the public key.
106 */ 106 */
107 struct GNUNET_CRYPTO_EccPublicSignKey public_key GNUNET_PACKED; 107 struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
108 108
109 /** 109 /**
110 * Number that causes a hash collision with the @e public_key. 110 * Key to revoke.
111 */ 111 */
112 uint64_t proof_of_work GNUNET_PACKED; 112 struct GNUNET_CRYPTO_EccPublicSignKey public_key;
113 113
114}; 114};
115 115