aboutsummaryrefslogtreecommitdiff
path: root/src/identity/identity.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-14 20:37:08 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-14 20:37:08 +0000
commitd0e0b8256a32f05dee2bc79494e4fba7830e63d2 (patch)
tree981157ca4715e43cdfa35c91b3f511acf60046e3 /src/identity/identity.h
parenta7349d7a85cc142fa2416671da346d368819775d (diff)
downloadgnunet-d0e0b8256a32f05dee2bc79494e4fba7830e63d2.tar.gz
gnunet-d0e0b8256a32f05dee2bc79494e4fba7830e63d2.zip
-addressing variable-size ECC private key len in IPC
Diffstat (limited to 'src/identity/identity.h')
-rw-r--r--src/identity/identity.h27
1 files changed, 9 insertions, 18 deletions
diff --git a/src/identity/identity.h b/src/identity/identity.h
index 57337c441..181f5c353 100644
--- a/src/identity/identity.h
+++ b/src/identity/identity.h
@@ -74,14 +74,11 @@ struct GNUNET_IDENTITY_UpdateMessage
74 uint16_t name_len GNUNET_PACKED; 74 uint16_t name_len GNUNET_PACKED;
75 75
76 /** 76 /**
77 * Always zero. 77 * Number of bytes of private key data that follow, in NBO.
78 */ 78 */
79 uint16_t reserved GNUNET_PACKED; 79 uint16_t pk_len GNUNET_PACKED;
80 80
81 /** 81 /* followed by private key */
82 * Public key of the identity that we provide an update about.
83 */
84 struct GNUNET_CRYPTO_EccPrivateKeyBinaryEncoded private_key_FIXME;
85 82
86 /* followed by 0-terminated identity name */ 83 /* followed by 0-terminated identity name */
87 84
@@ -133,14 +130,11 @@ struct GNUNET_IDENTITY_SetDefaultMessage
133 uint16_t name_len GNUNET_PACKED; 130 uint16_t name_len GNUNET_PACKED;
134 131
135 /** 132 /**
136 * Always zero. 133 * Number of bytes of private key data that follow, in NBO.
137 */ 134 */
138 uint16_t reserved GNUNET_PACKED; 135 uint16_t pk_len GNUNET_PACKED;
139 136
140 /** 137 /* followed by private key */
141 * Public key of the identity to use.
142 */
143 struct GNUNET_CRYPTO_EccPrivateKeyBinaryEncoded private_key_FIXME;
144 138
145 /* followed by 0-terminated service name */ 139 /* followed by 0-terminated service name */
146 140
@@ -164,14 +158,11 @@ struct GNUNET_IDENTITY_CreateRequestMessage
164 uint16_t name_len GNUNET_PACKED; 158 uint16_t name_len GNUNET_PACKED;
165 159
166 /** 160 /**
167 * Always zero. 161 * Number of bytes of private key data that follow, in NBO.
168 */ 162 */
169 uint16_t reserved GNUNET_PACKED; 163 uint16_t pk_len GNUNET_PACKED;
170 164
171 /** 165 /* followed by private key */
172 * Public key of the identity to use.
173 */
174 struct GNUNET_CRYPTO_EccPrivateKeyBinaryEncoded private_key_FIXME;
175 166
176 /* followed by 0-terminated identity name */ 167 /* followed by 0-terminated identity name */
177 168