diff options
-rw-r--r-- | contrib/hellos/DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0 | bin | 208 -> 0 bytes | |||
-rw-r--r-- | contrib/hellos/Makefile.am | 2 | ||||
-rw-r--r-- | contrib/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 | bin | 0 -> 304 bytes | |||
-rw-r--r-- | src/include/gnunet_common.h | 21 | ||||
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 19 |
5 files changed, 22 insertions, 20 deletions
diff --git a/contrib/hellos/DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0 b/contrib/hellos/DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0 deleted file mode 100644 index b8cbcf7d8..000000000 --- a/contrib/hellos/DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0 +++ /dev/null | |||
Binary files differ | |||
diff --git a/contrib/hellos/Makefile.am b/contrib/hellos/Makefile.am index 2ef785b27..d2fc6b89e 100644 --- a/contrib/hellos/Makefile.am +++ b/contrib/hellos/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | pkghellodir= $(pkgdatadir)/hellos | 1 | pkghellodir= $(pkgdatadir)/hellos |
2 | 2 | ||
3 | pkghello_DATA = \ | 3 | pkghello_DATA = \ |
4 | DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0 | 4 | Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 |
5 | 5 | ||
6 | EXTRA_DIST = $(pkghello_DATA) | 6 | EXTRA_DIST = $(pkghello_DATA) |
diff --git a/contrib/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 b/contrib/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 new file mode 100644 index 000000000..eeb6a15f7 --- /dev/null +++ b/contrib/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 | |||
Binary files differ | |||
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 94ecd06f8..2c40aef79 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -257,6 +257,27 @@ extern "C" | |||
257 | GNUNET_NETWORK_STRUCT_BEGIN | 257 | GNUNET_NETWORK_STRUCT_BEGIN |
258 | 258 | ||
259 | /** | 259 | /** |
260 | * @brief A 512-bit hashcode. These are the default length for GNUnet, using SHA-512. | ||
261 | */ | ||
262 | struct GNUNET_HashCode | ||
263 | { | ||
264 | uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */ | ||
265 | }; | ||
266 | |||
267 | |||
268 | |||
269 | /** | ||
270 | * @brief A 256-bit hashcode. Used under special conditions, like when space | ||
271 | * is critical and security is not impacted by it. | ||
272 | */ | ||
273 | struct GNUNET_ShortHashCode | ||
274 | { | ||
275 | uint32_t bits[256 / 8 / sizeof (uint32_t)]; /* = 8 */ | ||
276 | }; | ||
277 | |||
278 | |||
279 | |||
280 | /** | ||
260 | * Header for all communications. | 281 | * Header for all communications. |
261 | */ | 282 | */ |
262 | struct GNUNET_MessageHeader | 283 | struct GNUNET_MessageHeader |
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index c6ae943b9..257fee48d 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -51,25 +51,6 @@ extern "C" | |||
51 | #endif | 51 | #endif |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | /** | ||
55 | * @brief A 512-bit hashcode. These are the default length for GNUnet, using SHA-512. | ||
56 | */ | ||
57 | struct GNUNET_HashCode | ||
58 | { | ||
59 | uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */ | ||
60 | }; | ||
61 | |||
62 | |||
63 | |||
64 | /** | ||
65 | * @brief A 256-bit hashcode. Used under special conditions, like when space | ||
66 | * is critical and security is not impacted by it. | ||
67 | */ | ||
68 | struct GNUNET_ShortHashCode | ||
69 | { | ||
70 | uint32_t bits[256 / 8 / sizeof (uint32_t)]; /* = 8 */ | ||
71 | }; | ||
72 | |||
73 | 54 | ||
74 | /** | 55 | /** |
75 | * The identity of the host (wraps the signing key of the peer). | 56 | * The identity of the host (wraps the signing key of the peer). |