From 619467aff8bf2159e6644ae716b50d19f50017db Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Sat, 28 Mar 2009 23:26:51 +0000
Subject: [PATCH] - Added explanation for first bit/byte to zero in rsa_public
---
include/polarssl/rsa.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/polarssl/rsa.h b/include/polarssl/rsa.h
index 7e6d19fb9e..f9d02bdf03 100644
--- a/include/polarssl/rsa.h
+++ b/include/polarssl/rsa.h
@@ -210,7 +210,8 @@ int rsa_check_privkey( rsa_context *ctx );
* \return 0 if successful, or an POLARSSL_ERR_RSA_XXX error code
*
* \note This function does NOT take care of message
- * padding. Also, be sure to set input[0] = 0.
+ * padding. Also, be sure to set input[0] = 0 or assure that
+ * input is smaller than N.
*
* \note The input and output buffers must be large
* enough (eg. 128 bytes if RSA-1024 is used).