aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-05 13:07:27 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-05 13:07:27 +0000
commitacd08b65a860450488d5e6b5403e43bed3748dc9 (patch)
tree20fc809a1d307b07993c4b2d80f14594e53938e1 /src/fs/fs.h
parent4a8a0bbb94a087d697092bad031261c0ee51a8cc (diff)
downloadgnunet-acd08b65a860450488d5e6b5403e43bed3748dc9.tar.gz
gnunet-acd08b65a860450488d5e6b5403e43bed3748dc9.zip
nblock support done
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r--src/fs/fs.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h
index 3a42fee2d..a9a585a15 100644
--- a/src/fs/fs.h
+++ b/src/fs/fs.h
@@ -1218,20 +1218,37 @@ struct NBlock
1218{ 1218{
1219 1219
1220 /** 1220 /**
1221 * GNUNET_RSA_Signature using RSA-key generated from search keyword.
1222 */
1223 struct GNUNET_CRYPTO_RsaSignature ksk_signature;
1224
1225 /**
1226 * What is being signed and why?
1227 */
1228 struct GNUNET_CRYPTO_RsaSignaturePurpose ksk_purpose;
1229
1230 /**
1231 * Key generated (!) from the H(keyword) as the seed!
1232 */
1233 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded keyspace;
1234
1235 /**
1221 * GNUNET_RSA_Signature using RSA-key of the namespace 1236 * GNUNET_RSA_Signature using RSA-key of the namespace
1222 */ 1237 */
1223 struct GNUNET_CRYPTO_RsaSignature signature; 1238 struct GNUNET_CRYPTO_RsaSignature ns_signature;
1224 1239
1225 /** 1240 /**
1226 * What is being signed and why? 1241 * What is being signed and why?
1227 */ 1242 */
1228 struct GNUNET_CRYPTO_RsaSignaturePurpose purpose; 1243 struct GNUNET_CRYPTO_RsaSignaturePurpose ns_purpose;
1229 1244
1230 /** 1245 /**
1231 * Public key of the namespace. 1246 * Public key of the namespace.
1232 */ 1247 */
1233 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded subspace; 1248 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded subspace;
1234 1249
1250 /* from here on, data is encrypted with H(keyword) */
1251
1235 /* 0-terminated root identifier here */ 1252 /* 0-terminated root identifier here */
1236 1253
1237 /* variable-size Meta-Data follows here */ 1254 /* variable-size Meta-Data follows here */