gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 2f1fa13dfcd4da615f472eb0eb9c207f93b210fb
parent 85755103143297d41ccf63c68492822e9b951495
Author: Supriti Singh <supritisingh08@gmail.com>
Date:   Tue, 18 Feb 2014 08:23:21 +0000

Adding function GNUNET_CRYPTO_compute_finger_identity


Diffstat:
Msrc/include/gnunet_crypto_lib.h | 2+-
Msrc/util/common_logging.c | 2+-
Msrc/util/crypto_ecc.c | 4++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h @@ -1277,7 +1277,7 @@ GNUNET_CRYPTO_ecdsa_private_key_derive (const struct GNUNET_CRYPTO_EcdsaPrivateK * @return finger_identity */ struct GNUNET_PeerIdentity * -GNUNET_CRYPTO_compute_finger(struct GNUNET_PeerIdentity *my_identity,unsigned int index); +GNUNET_CRYPTO_compute_finger_identity(struct GNUNET_PeerIdentity *my_identity,unsigned int index); /** diff --git a/src/util/common_logging.c b/src/util/common_logging.c @@ -1095,7 +1095,7 @@ GNUNET_i2s (const struct GNUNET_PeerIdentity *pid) { static char buf[256]; char *ret; - + ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&pid->public_key); strcpy (buf, ret); GNUNET_free (ret); diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c @@ -1457,7 +1457,7 @@ GNUNET_CRYPTO_ecdsa_private_key_derive (const struct GNUNET_CRYPTO_EcdsaPrivateK * @return finger_identity */ struct GNUNET_PeerIdentity * -GNUNET_CRYPTO_compute_finger(struct GNUNET_PeerIdentity *my_identity, unsigned int index) +GNUNET_CRYPTO_compute_finger_identity(struct GNUNET_PeerIdentity *my_identity, unsigned int index) { gcry_mpi_t my_identity_mpi; gcry_mpi_t finger_identity_mpi; @@ -1509,7 +1509,7 @@ GNUNET_CRYPTO_compute_finger(struct GNUNET_PeerIdentity *my_identity, unsigned i GNUNET_free(finger_identity); return NULL; } - + return finger_identity; }