From ab92b2147ade8661f27dee580e30ebc13d839586 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Mon, 26 Jan 2015 09:53:34 +0000 Subject: -fix doc --- src/include/gnunet_crypto_lib.h | 4 ++-- src/util/crypto_rsa.c | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'src') 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 -- cgit v1.2.3