-avoid 'hu', as it is unsigned short, not uint16_t
[oweals/gnunet.git] / src / include / gnunet_crypto_lib.h
index 28faa13589cb8b12289d70ad7c351806d1a91843..0d18e118537261cfec546b2d1952a8ef5a809b91 100644 (file)
@@ -374,7 +374,7 @@ struct GNUNET_CRYPTO_PaillierCiphertext
    * guaranteed minimum number of homomorphic operations with this ciphertext
    */
   int32_t remaining_ops GNUNET_PACKED;
-  
+
   /**
    * The bits of the ciphertext.
    */
@@ -1269,19 +1269,6 @@ GNUNET_CRYPTO_ecdsa_private_key_derive (const struct GNUNET_CRYPTO_EcdsaPrivateK
                                         const char *context);
 
 
-/**
- * Computes a new PeerIdentity using the Chord formula.
- * new_peer_identity = ((my_identity + pow(2,i)) mod (pow(2,m)
- * where m, size of struct GNUNET_PeerIdentity in bits.
- * i, 0 <= i <= m 
- * @param my_identity original PeerIdentity
- * @param value of i. 
- * @return finger_identity
- */
-struct GNUNET_PeerIdentity *
-GNUNET_CRYPTO_compute_finger_identity(struct GNUNET_PeerIdentity *my_identity,unsigned int index);
-
-
 /**
  * @ingroup crypto
  * Derive a public key from a given public key and a label.
@@ -1347,7 +1334,7 @@ GNUNET_CRYPTO_paillier_create (struct GNUNET_CRYPTO_PaillierPublicKey *public_ke
  * @param m Plaintext to encrypt.
  * @param desired_ops How many homomorphic ops the caller intends to use
  * @param[out] ciphertext Encrytion of @a plaintext with @a public_key.
- * @return guaranteed number of supported homomorphic operations >= 1, 
+ * @return guaranteed number of supported homomorphic operations >= 1,
  *         or desired_ops, in case that is lower,
  *         or -1 if less than one homomorphic operation is possible
  */
@@ -1394,7 +1381,7 @@ GNUNET_CRYPTO_paillier_hom_add (const struct GNUNET_CRYPTO_PaillierPublicKey *pu
 
 
 /**
- * Get the number of remaining supported homomorphic operations. 
+ * Get the number of remaining supported homomorphic operations.
  *
  * @param c Paillier cipher text.
  * @return the number of remaining homomorphic operations