aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-17 17:18:53 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-17 17:18:53 +0100
commitf9b01d9c8eeac932db6357426f8a70bf525a4e07 (patch)
treef3023b6cfe959a38ed5d9ab131fc8e1c62d136ea /src/include/gnunet_crypto_lib.h
parent100e16ba31dac7138413bda3389d30b3575a8b8e (diff)
downloadgnunet-f9b01d9c8eeac932db6357426f8a70bf525a4e07.tar.gz
gnunet-f9b01d9c8eeac932db6357426f8a70bf525a4e07.zip
use new shortmap to simplify CADET logic a bit
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index b6875c5cf..43fd32a58 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -52,20 +52,6 @@ extern "C"
52#endif 52#endif
53 53
54/** 54/**
55 * @brief A 512-bit hashcode
56 */
57struct GNUNET_HashCode;
58
59/**
60 * The identity of the host (wraps the signing key of the peer).
61 */
62struct GNUNET_PeerIdentity;
63
64#include "gnunet_common.h"
65#include <gcrypt.h>
66
67
68/**
69 * @brief A 512-bit hashcode. These are the default length for GNUnet, using SHA-512. 55 * @brief A 512-bit hashcode. These are the default length for GNUnet, using SHA-512.
70 */ 56 */
71struct GNUNET_HashCode 57struct GNUNET_HashCode
@@ -86,6 +72,15 @@ struct GNUNET_ShortHashCode
86 72
87 73
88/** 74/**
75 * The identity of the host (wraps the signing key of the peer).
76 */
77struct GNUNET_PeerIdentity;
78
79#include "gnunet_common.h"
80#include <gcrypt.h>
81
82
83/**
89 * Maximum length of an ECC signature. 84 * Maximum length of an ECC signature.
90 * Note: round up to multiple of 8 minus 2 for alignment. 85 * Note: round up to multiple of 8 minus 2 for alignment.
91 */ 86 */