aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_rsa.c7
1 files changed, 3 insertions, 4 deletions
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)
617 617
618 618
619/** 619/**
620 * Encode the signature key in a format suitable for 620 * Encode the given signature in a format suitable for storing it into a file.
621 * storing it into a file.
622 * 621 *
623 * @param sig the signature 622 * @param sig the signature
624 * @param[out] buffer set to a buffer with the encoded key 623 * @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
647 646
648 647
649/** 648/**
650 * Decode the public key from the data-format back 649 * Decode the signature from the data-format back to the "normal", internal
651 * to the "normal", internal format. 650 * format.
652 * 651 *
653 * @param buf the buffer where the public key data is stored 652 * @param buf the buffer where the public key data is stored
654 * @param len the length of the data in @a buf 653 * @param len the length of the data in @a buf