aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_crypto_lib.h6
-rw-r--r--src/include/gnunet_strings_lib.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index ebe500339..a82b2fdd6 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -111,6 +111,12 @@ enum GNUNET_CRYPTO_Quality
111#define GNUNET_CRYPTO_HASH_LENGTH (512/8) 111#define GNUNET_CRYPTO_HASH_LENGTH (512/8)
112 112
113/** 113/**
114 * How many characters (without 0-terminator) are our ASCII-encoded
115 * public keys (ECDSA/EDDSA/ECDHE).
116 */
117#define GNUNET_CRYPTO_PKEY_ASCII_LENGTH 52
118
119/**
114 * @brief 0-terminated ASCII encoding of a struct GNUNET_HashCode. 120 * @brief 0-terminated ASCII encoding of a struct GNUNET_HashCode.
115 */ 121 */
116struct GNUNET_CRYPTO_HashAsciiEncoded 122struct GNUNET_CRYPTO_HashAsciiEncoded
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index f93148df5..eb16a339d 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -328,6 +328,7 @@ GNUNET_STRINGS_string_to_data (const char *enc,
328size_t 328size_t
329GNUNET_STRINGS_base64_encode (const char *data, size_t len, char **output); 329GNUNET_STRINGS_base64_encode (const char *data, size_t len, char **output);
330 330
331
331/** 332/**
332 * Decode from Base64. 333 * Decode from Base64.
333 * 334 *