diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-29 08:18:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-29 08:18:55 +0000 |
commit | 022002438e4047d235a688cfd9da7b63ab990103 (patch) | |
tree | 8d0cb444a3ab376b5a8f614fb87bdeb31e7b3327 /src/include/gnunet_namestore_plugin.h | |
parent | b62eb443ee3af84f87030fad9fd11a948b1a2503 (diff) | |
download | gnunet-022002438e4047d235a688cfd9da7b63ab990103.tar.gz gnunet-022002438e4047d235a688cfd9da7b63ab990103.zip |
-switching GNS from RSA to ECC
Diffstat (limited to 'src/include/gnunet_namestore_plugin.h')
-rw-r--r-- | src/include/gnunet_namestore_plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h index 1168e0d13..e969170e5 100644 --- a/src/include/gnunet_namestore_plugin.h +++ b/src/include/gnunet_namestore_plugin.h | |||
@@ -53,12 +53,12 @@ extern "C" | |||
53 | * because the user queried for a particular record type only) | 53 | * because the user queried for a particular record type only) |
54 | */ | 54 | */ |
55 | typedef void (*GNUNET_NAMESTORE_RecordIterator) (void *cls, | 55 | typedef void (*GNUNET_NAMESTORE_RecordIterator) (void *cls, |
56 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key, | 56 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, |
57 | struct GNUNET_TIME_Absolute expire, | 57 | struct GNUNET_TIME_Absolute expire, |
58 | const char *name, | 58 | const char *name, |
59 | unsigned int rd_len, | 59 | unsigned int rd_len, |
60 | const struct GNUNET_NAMESTORE_RecordData *rd, | 60 | const struct GNUNET_NAMESTORE_RecordData *rd, |
61 | const struct GNUNET_CRYPTO_RsaSignature *signature); | 61 | const struct GNUNET_CRYPTO_EccSignature *signature); |
62 | 62 | ||
63 | 63 | ||
64 | /** | 64 | /** |
@@ -88,12 +88,12 @@ struct GNUNET_NAMESTORE_PluginFunctions | |||
88 | * @return GNUNET_OK on success, else GNUNET_SYSERR | 88 | * @return GNUNET_OK on success, else GNUNET_SYSERR |
89 | */ | 89 | */ |
90 | int (*put_records) (void *cls, | 90 | int (*put_records) (void *cls, |
91 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key, | 91 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, |
92 | struct GNUNET_TIME_Absolute expire, | 92 | struct GNUNET_TIME_Absolute expire, |
93 | const char *name, | 93 | const char *name, |
94 | unsigned int rd_len, | 94 | unsigned int rd_len, |
95 | const struct GNUNET_NAMESTORE_RecordData *rd, | 95 | const struct GNUNET_NAMESTORE_RecordData *rd, |
96 | const struct GNUNET_CRYPTO_RsaSignature *signature); | 96 | const struct GNUNET_CRYPTO_EccSignature *signature); |
97 | 97 | ||
98 | 98 | ||
99 | /** | 99 | /** |