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); | |||
1644 | 1644 | ||
1645 | 1645 | ||
1646 | /** | 1646 | /** |
1647 | * Encode the signature key in a format suitable for | 1647 | * Encode the given signature in a format suitable for |
1648 | * storing it into a file. | 1648 | * storing it into a file. |
1649 | * | 1649 | * |
1650 | * @param sig the signature | 1650 | * @param sig the signature |
@@ -1657,7 +1657,7 @@ GNUNET_CRYPTO_rsa_signature_encode (const struct GNUNET_CRYPTO_rsa_Signature *si | |||
1657 | 1657 | ||
1658 | 1658 | ||
1659 | /** | 1659 | /** |
1660 | * Decode the public key from the data-format back | 1660 | * Decode the signature from the data-format back |
1661 | * to the "normal", internal format. | 1661 | * to the "normal", internal format. |
1662 | * | 1662 | * |
1663 | * @param buf the buffer where the public key data is stored | 1663 | * @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) | |||
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 |