diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 4 | ||||
-rw-r--r-- | src/util/crypto_rsa.c | 7 |
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 |