aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
authorSupriti Singh <supritisingh08@gmail.com>2014-04-07 17:23:33 +0000
committerSupriti Singh <supritisingh08@gmail.com>2014-04-07 17:23:33 +0000
commit395864e0875252a779e783765b955c4193741065 (patch)
tree7c7b2c8a92732c3ce862fb315f886255f18c0b45 /src/include/gnunet_crypto_lib.h
parentdaa7b00b515bba437b467e66753a1cda7afa2e3f (diff)
downloadgnunet-395864e0875252a779e783765b955c4193741065.tar.gz
gnunet-395864e0875252a779e783765b955c4193741065.zip
1.Removed GNUNET_CRYPTO_compute_finger_identity
2.Removed myself as the first element of the trail. 3.Multiple entries in the routing table. 4.Put/Get/Monitor from old DHT added back in clients file.
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 28faa1358..18e49ee93 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1270,19 +1270,6 @@ GNUNET_CRYPTO_ecdsa_private_key_derive (const struct GNUNET_CRYPTO_EcdsaPrivateK
1270 1270
1271 1271
1272/** 1272/**
1273 * Computes a new PeerIdentity using the Chord formula.
1274 * new_peer_identity = ((my_identity + pow(2,i)) mod (pow(2,m)
1275 * where m, size of struct GNUNET_PeerIdentity in bits.
1276 * i, 0 <= i <= m
1277 * @param my_identity original PeerIdentity
1278 * @param value of i.
1279 * @return finger_identity
1280 */
1281struct GNUNET_PeerIdentity *
1282GNUNET_CRYPTO_compute_finger_identity(struct GNUNET_PeerIdentity *my_identity,unsigned int index);
1283
1284
1285/**
1286 * @ingroup crypto 1273 * @ingroup crypto
1287 * Derive a public key from a given public key and a label. 1274 * Derive a public key from a given public key and a label.
1288 * Essentially calculates a public key 'V = H(l,P) * P'. 1275 * Essentially calculates a public key 'V = H(l,P) * P'.