aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_api.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/fs/fs_api.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/fs/fs_api.h')
-rw-r--r--src/fs/fs_api.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/fs/fs_api.h b/src/fs/fs_api.h
index 5858c916c..4b0965f15 100644
--- a/src/fs/fs_api.h
+++ b/src/fs/fs_api.h
@@ -128,10 +128,10 @@ struct Location
128 struct GNUNET_TIME_Absolute expirationTime; 128 struct GNUNET_TIME_Absolute expirationTime;
129 129
130 /** 130 /**
131 * RSA signature over the GNUNET_EC_FileIdentifier, 131 * Signature over the GNUNET_EC_FileIdentifier,
132 * GNUNET_hash of the peer and expiration time. 132 * peer identity and expiration time.
133 */ 133 */
134 struct GNUNET_CRYPTO_EccSignature contentSignature; 134 struct GNUNET_CRYPTO_EddsaSignature contentSignature;
135 135
136}; 136};
137 137
@@ -140,24 +140,24 @@ struct Location
140 */ 140 */
141enum GNUNET_FS_UriType 141enum GNUNET_FS_UriType
142{ 142{
143 /** 143 /**
144 * Content-hash-key (simple file). 144 * Content-hash-key (simple file).
145 */ 145 */
146 GNUNET_FS_URI_CHK, 146 GNUNET_FS_URI_CHK,
147 147
148 /** 148 /**
149 * Signed key space (file in namespace). 149 * Signed key space (file in namespace).
150 */ 150 */
151 GNUNET_FS_URI_SKS, 151 GNUNET_FS_URI_SKS,
152 152
153 /** 153 /**
154 * Keyword search key (query with keywords). 154 * Keyword search key (query with keywords).
155 */ 155 */
156 GNUNET_FS_URI_KSK, 156 GNUNET_FS_URI_KSK,
157 157
158 /** 158 /**
159 * Location (chk with identity of hosting peer). 159 * Location (chk with identity of hosting peer).
160 */ 160 */
161 GNUNET_FS_URI_LOC 161 GNUNET_FS_URI_LOC
162}; 162};
163 163
@@ -198,7 +198,7 @@ struct GNUNET_FS_Uri
198 /** 198 /**
199 * Identifier of the namespace. 199 * Identifier of the namespace.
200 */ 200 */
201 struct GNUNET_CRYPTO_EccPublicSignKey ns; 201 struct GNUNET_CRYPTO_EcdsaPublicKey ns;
202 202
203 /** 203 /**
204 * Human-readable identifier chosen for this entry in the 204 * Human-readable identifier chosen for this entry in the
@@ -1171,7 +1171,7 @@ struct GNUNET_FS_PublishContext
1171 /** 1171 /**
1172 * Namespace that we are publishing in, NULL if we have no namespace. 1172 * Namespace that we are publishing in, NULL if we have no namespace.
1173 */ 1173 */
1174 struct GNUNET_CRYPTO_EccPrivateKey *ns; 1174 struct GNUNET_CRYPTO_EcdsaPrivateKey *ns;
1175 1175
1176 /** 1176 /**
1177 * ID of the content in the namespace, NULL if we have no namespace. 1177 * ID of the content in the namespace, NULL if we have no namespace.
@@ -1461,7 +1461,7 @@ struct SearchRequestEntry
1461 /** 1461 /**
1462 * Derived public key, hashes to 'uquery'. 1462 * Derived public key, hashes to 'uquery'.
1463 */ 1463 */
1464 struct GNUNET_CRYPTO_EccPublicSignKey dpub; 1464 struct GNUNET_CRYPTO_EcdsaPublicKey dpub;
1465 1465
1466 /** 1466 /**
1467 * The original keyword, used to derive the 1467 * The original keyword, used to derive the