From 21f8d4527990e5eb7dbc49666e458f12420ced0b Mon Sep 17 00:00:00 2001 From: jmjatlanta Date: Fri, 20 Jan 2017 04:53:55 -0500 Subject: [PATCH] Small adjustment to clarify a comment --- crypto/rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/rsa.c b/crypto/rsa.c index e60bdcd..ec5976f 100644 --- a/crypto/rsa.c +++ b/crypto/rsa.c @@ -233,7 +233,7 @@ int libp2p_crypto_rsa_rsa_private_key_free(struct RsaPrivateKey* private_key) { * @param private_key the private key * @param message the message to be signed * @param message_length the length of message - * @param result the resultant signature. Note: should be pre-allocated and be the size of the private key (i.e. 2048) + * @param result the resultant signature. Note: should be pre-allocated and be the size of the private key (i.e. 2048 bit key can store a sig in 256 bytes) * @returns true(1) on successs, otherwise false(0) */ int libp2p_crypto_rsa_sign(struct RsaPrivateKey* private_key, unsigned char* message, size_t message_length, unsigned char* result) {