-fixes
[oweals/gnunet.git] / src / util / crypto_hash.c
index 976c5999216d50c5c2fd03817e0622f0b48782d6..f896390455bfd5321c0fa89fcdd79ff1524a0e6b 100644 (file)
@@ -241,9 +241,10 @@ GNUNET_CRYPTO_hash_file_cancel (struct GNUNET_CRYPTO_FileHashContext *fhc)
 }
 
 
-
 /* ***************** binary-ASCII encoding *************** */
 
+/* FIXME: should use GNUNET_STRINGS_data_to_string and strings_to_data below!!! */
+
 /**
  * Get the numeric value corresponding to a character.
  *
@@ -318,6 +319,7 @@ GNUNET_CRYPTO_hash_to_enc (const GNUNET_HashCode * block,
  * Convert ASCII encoding back to GNUNET_CRYPTO_hash
  *
  * @param enc the encoding
+ * @param enclen number of characters in 'enc' (without 0-terminator, which can be missing)
  * @param result where to store the GNUNET_CRYPTO_hash code
  * @return GNUNET_OK on success, GNUNET_SYSERR if result has the wrong encoding
  */