summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2015-01-26 09:53:34 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2015-01-26 09:53:34 +0000
commitab92b2147ade8661f27dee580e30ebc13d839586 (patch)
tree5a1a0932defcdcfe149f55b11862b86429e2347c /src
parent858539f346bb72c1313c0f9bf0ef20d829664ae5 (diff)
-fix doc
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_crypto_lib.h4
-rw-r--r--src/util/crypto_rsa.c7
2 files changed, 5 insertions, 6 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index ae899c1db..6f777a562 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1644,7 +1644,7 @@ GNUNET_CRYPTO_rsa_signature_free (struct GNUNET_CRYPTO_rsa_Signature *sig);
/**
- * Encode the signature key in a format suitable for
+ * Encode the given signature in a format suitable for
* storing it into a file.
*
* @param sig the signature
@@ -1657,7 +1657,7 @@ GNUNET_CRYPTO_rsa_signature_encode (const struct GNUNET_CRYPTO_rsa_Signature *si
/**
- * Decode the public key from the data-format back
+ * Decode the signature from the data-format back
* to the "normal", internal format.
*
* @param buf the buffer where the public key data is stored
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 9aad9c910..ba8639365 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -617,8 +617,7 @@ GNUNET_CRYPTO_rsa_signature_free (struct GNUNET_CRYPTO_rsa_Signature *sig)
/**
- * Encode the signature key in a format suitable for
- * storing it into a file.
+ * Encode the given signature in a format suitable for storing it into a file.
*
* @param sig the signature
* @param[out] buffer set to a buffer with the encoded key
@@ -647,8 +646,8 @@ GNUNET_CRYPTO_rsa_signature_encode (const struct GNUNET_CRYPTO_rsa_Signature *si
/**
- * Decode the public key from the data-format back
- * to the "normal", internal format.
+ * Decode the signature from the data-format back to the "normal", internal
+ * format.
*
* @param buf the buffer where the public key data is stored
* @param len the length of the data in @a buf